]> granicus.if.org Git - pdns/commitdiff
Matt Smith found another instance of using namespace boost which caused problems...
authorBert Hubert <bert.hubert@netherlabs.nl>
Mon, 4 Apr 2011 07:38:37 +0000 (07:38 +0000)
committerBert Hubert <bert.hubert@netherlabs.nl>
Mon, 4 Apr 2011 07:38:37 +0000 (07:38 +0000)
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2132 d19b8d6e-7fed-0310-83ef-9ca221ded41b

pdns/dnssecinfra.cc

index a0a4051c3c63158e07a8989706c9fd5416852bb7..805a1ea4314f2e7dca533a937ceb5207f8b59182 100644 (file)
@@ -14,8 +14,6 @@
 #include <boost/assign/list_inserter.hpp>
 #include "base64.hh"
 #include "md5.hh"
-
-using namespace boost;
 #include "namespaces.hh"
 using namespace boost::assign;
 
@@ -263,7 +261,7 @@ int countLabels(const std::string& signQName)
     if(*pos == '.' && pos+1 != signQName.end()) 
       count++;
 
-  if(starts_with(signQName, "*."))
+  if(boost::starts_with(signQName, "*."))
     count--;
   return count;
 }