]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
dnsdist: Use std:tie explicitly
authorRemi Gacogne <remi.gacogne@powerdns.com>
Wed, 9 Feb 2022 09:58:26 +0000 (10:58 +0100)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Wed, 9 Feb 2022 09:58:26 +0000 (10:58 +0100)
pdns/dnsdist-cache.cc

index d023dee942391de0b43f929768ced3fe1e09466f..cdf02ad7626900824d37fc151261118a1863c8df 100644 (file)
@@ -88,7 +88,7 @@ void DNSDistPacketCache::insertLocked(CacheShard& shard, std::unordered_map<uint
 
   std::unordered_map<uint32_t,CacheValue>::iterator it;
   bool result;
-  tie(it, result) = map.insert({key, newValue});
+  std::tie(it, result) = map.insert({key, newValue});
 
   if (result) {
     ++shard.d_entriesCount;