From: Charles-Henri Bruyand Date: Wed, 6 Oct 2021 09:28:12 +0000 (+0200) Subject: prevent unnecessary padding X-Git-Tag: dnsdist-1.7.0-alpha2~34^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=592d5dbd7f2ebcb8f915e29f858eb4dd0897d67a;p=thirdparty%2Fpdns.git prevent unnecessary padding --- diff --git a/pdns/dnsdist-cache.hh b/pdns/dnsdist-cache.hh index f2ae2a45ae..a9462420e6 100644 --- a/pdns/dnsdist-cache.hh +++ b/pdns/dnsdist-cache.hh @@ -123,6 +123,7 @@ private: void insertLocked(CacheShard& shard, std::unordered_map& map, uint32_t key, CacheValue& newValue); std::vector d_shards; + std::unordered_set d_optionsToSkip{EDNSOptionCode::COOKIE}; pdns::stat_t d_deferredLookups{0}; pdns::stat_t d_deferredInserts{0}; @@ -143,5 +144,4 @@ private: bool d_deferrableInsertLock; bool d_parseECS; bool d_keepStaleData{false}; - std::unordered_set d_optionsToSkip{EDNSOptionCode::COOKIE}; };