From: Remi Gacogne Date: Tue, 17 Mar 2020 10:12:52 +0000 (+0100) Subject: rec: Fix const-ness in DNSFilterEngine X-Git-Tag: dnsdist-1.5.0-alpha1~8^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4427bd250e70306507176926a78240824925c415;p=thirdparty%2Fpdns.git rec: Fix const-ness in DNSFilterEngine Co-Authored-By: Otto Moerbeek --- diff --git a/pdns/filterpo.hh b/pdns/filterpo.hh index 153b76ffcd..b42e47ea96 100644 --- a/pdns/filterpo.hh +++ b/pdns/filterpo.hh @@ -123,7 +123,7 @@ public: const std::unordered_set& getTags() const { - static std::unordered_set notSet; + static const std::unordered_set notSet; if (d_zoneData) { return d_zoneData->d_tags; }