]> granicus.if.org Git - pdns/commitdiff
revert to std::string in DNSName for now since Centos6 boost does not have boost...
authorbert hubert <bert.hubert@netherlabs.nl>
Sun, 29 Nov 2015 08:38:05 +0000 (09:38 +0100)
committerbert hubert <bert.hubert@netherlabs.nl>
Sun, 29 Nov 2015 08:38:05 +0000 (09:38 +0100)
pdns/dnsname.hh

index ff1495c77aed45a3f730a801cd83b7ce400f84dc..4281cee36a641b7a390e9722a3c1b43c83b765ac 100644 (file)
@@ -5,7 +5,7 @@
 #include <deque>
 #include <strings.h>
 #include <stdexcept>
-#include <boost/container/string.hpp>
+// #include <boost/container/string.hpp>
 
 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;