From f5137790e51c3374cac78e1703a26f9f00e02c5a Mon Sep 17 00:00:00 2001 From: Otto Moerbeek Date: Wed, 9 Feb 2022 15:12:51 +0100 Subject: [PATCH] Three more cases of tie or boost::tie --- pdns/dnsdemog.cc | 2 +- pdns/ixfrutils.cc | 2 +- pdns/ixplore.cc | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pdns/dnsdemog.cc b/pdns/dnsdemog.cc index 6c400fa1ac71..7c152d1b5811 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 096d77e1dffd..58b5463562c2 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 3291e9e07324..e72ce55df2b4 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()<