From: Otto Moerbeek Date: Wed, 9 Feb 2022 14:12:51 +0000 (+0100) Subject: Three more cases of tie or boost::tie X-Git-Tag: auth-4.7.0-alpha1~12^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F11304%2Fhead;p=thirdparty%2Fpdns.git Three more cases of tie or boost::tie --- diff --git a/pdns/dnsdemog.cc b/pdns/dnsdemog.cc index 6c400fa1ac..7c152d1b58 100644 --- a/pdns/dnsdemog.cc +++ b/pdns/dnsdemog.cc @@ -44,7 +44,7 @@ struct Entry bool operator<(const struct Entry& rhs) const { - return tie(ip, port, id) < tie(rhs.ip, rhs.port, rhs.id); + return std::tie(ip, port, id) < std::tie(rhs.ip, rhs.port, rhs.id); } }; diff --git a/pdns/ixfrutils.cc b/pdns/ixfrutils.cc index 096d77e1df..58b5463562 100644 --- a/pdns/ixfrutils.cc +++ b/pdns/ixfrutils.cc @@ -94,7 +94,7 @@ uint32_t getSerialFromRecords(const records_t& records, DNSRecord& soaret) { uint16_t t=QType::SOA; - auto found = records.equal_range(boost::tie(g_rootdnsname, t)); + auto found = records.equal_range(std::tie(g_rootdnsname, t)); for(auto iter = found.first; iter != found.second; ++iter) { auto soa = std::dynamic_pointer_cast(iter->d_content); diff --git a/pdns/ixplore.cc b/pdns/ixplore.cc index 3291e9e073..e72ce55df2 100644 --- a/pdns/ixplore.cc +++ b/pdns/ixplore.cc @@ -213,7 +213,7 @@ int main(int argc, char** argv) { for(const auto& rr : remove) { report<<'-'<< (rr.d_name+zone) <<" IN "<getZoneRepresentation()<