From 21f26fff724f30537fb61be374fa9ac214c485e4 Mon Sep 17 00:00:00 2001 From: Remi Gacogne Date: Wed, 9 Feb 2022 10:58:26 +0100 Subject: [PATCH] dnsdist: Use std:tie explicitly --- pdns/dnsdist-cache.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.47.2