From f984e703f83fc7df85f384b27d45b4dea66b2d78 Mon Sep 17 00:00:00 2001 From: Remi Gacogne Date: Wed, 25 Oct 2017 14:53:13 +0200 Subject: [PATCH] rec: Place CacheEntry and CacheKey into a unique namespace --- pdns/syncres.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pdns/syncres.cc b/pdns/syncres.cc index a1c1f3c4d..8f78ac648 100644 --- a/pdns/syncres.cc +++ b/pdns/syncres.cc @@ -898,6 +898,7 @@ bool SyncRes::doCNAMECacheCheck(const DNSName &qname, const QType &qtype, vector return false; } +namespace { struct CacheEntry { vector records; @@ -914,6 +915,7 @@ struct CacheKey } }; typedef map tcache_t; +} static void reapRecordsFromNegCacheEntryForValidation(tcache_t& tcache, const vector& records) { -- 2.40.0