]> granicus.if.org Git - pdns/commitdiff
there was a BOOST_REVERSE_FOREACH!
authorbert hubert <bert.hubert@netherlabs.nl>
Fri, 27 Nov 2015 07:12:05 +0000 (08:12 +0100)
committerbert hubert <bert.hubert@netherlabs.nl>
Fri, 27 Nov 2015 08:25:31 +0000 (09:25 +0100)
pdns/rec_channel_rec.cc

index 904341e640303776c44f9b386ea714ae54125592..845edcbbe7828d0f5d878846b3447169368e454e 100644 (file)
@@ -784,8 +784,8 @@ DNSName getRegisteredName(const DNSName& dom)
       if(!ret.empty())
        ret+=".";
       
-      BOOST_REVERSE_FOREACH(const std::string& p, parts) {
-       ret+=p+".";
+      for(auto p = parts.crbegin(); p != parts.crend(); ++p) {
+       ret+=(*p)+".";
       }
       return DNSName(ret);
     }