From: bert hubert Date: Sun, 29 Nov 2015 08:38:05 +0000 (+0100) Subject: revert to std::string in DNSName for now since Centos6 boost does not have boost... X-Git-Tag: dnsdist-1.0.0-alpha1~175 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=927aed21e27ca615876cbe7677378809b9f9f5d0;p=pdns revert to std::string in DNSName for now since Centos6 boost does not have boost::container::string - we should autodetect this with #if on BOOST_VERSION --- diff --git a/pdns/dnsname.hh b/pdns/dnsname.hh index ff1495c77..4281cee36 100644 --- a/pdns/dnsname.hh +++ b/pdns/dnsname.hh @@ -5,7 +5,7 @@ #include #include #include -#include +// #include uint32_t burtleCI(const unsigned char* k, uint32_t lengh, uint32_t init); @@ -88,8 +88,8 @@ public: inline bool canonCompare(const DNSName& rhs) const; bool slowCanonCompare(const DNSName& rhs) const; private: - typedef boost::container::string string_t; - //typedef std::string string_t; + // typedef boost::container::string string_t; + typedef std::string string_t; string_t d_storage;