From: Remi Gacogne Date: Wed, 9 Feb 2022 09:58:26 +0000 (+0100) Subject: dnsdist: Use std:tie explicitly X-Git-Tag: auth-4.7.0-alpha1~12^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=21f26fff724f30537fb61be374fa9ac214c485e4;p=thirdparty%2Fpdns.git dnsdist: Use std:tie explicitly --- diff --git a/pdns/dnsdist-cache.cc b/pdns/dnsdist-cache.cc index d023dee942..cdf02ad762 100644 --- a/pdns/dnsdist-cache.cc +++ b/pdns/dnsdist-cache.cc @@ -88,7 +88,7 @@ void DNSDistPacketCache::insertLocked(CacheShard& shard, std::unordered_map::iterator it; bool result; - tie(it, result) = map.insert({key, newValue}); + std::tie(it, result) = map.insert({key, newValue}); if (result) { ++shard.d_entriesCount;