From 9e23e7126a1bed9a85c7106961d7f178d7de9ca6 Mon Sep 17 00:00:00 2001 From: bert hubert Date: Thu, 26 Nov 2015 22:49:17 +0100 Subject: [PATCH] foreach fixup --- pdns/tcpreceiver.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pdns/tcpreceiver.cc b/pdns/tcpreceiver.cc index a6a667af4..47d78bff7 100644 --- a/pdns/tcpreceiver.cc +++ b/pdns/tcpreceiver.cc @@ -796,8 +796,7 @@ int TCPNameserver::doAXFR(const DNSName &target, shared_ptr q, int ou } } - pair nt; - BOOST_FOREACH(nt, nonterm) { + for(const auto& nt : nonterm) { DNSResourceRecord rr; rr.qname=nt.first; rr.qtype="TYPE0"; -- 2.40.0