]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
rec: Fix const-ness in DNSFilterEngine
authorRemi Gacogne <rgacogne+github@valombre.net>
Tue, 17 Mar 2020 10:12:35 +0000 (11:12 +0100)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Wed, 18 Mar 2020 09:26:57 +0000 (10:26 +0100)
Co-Authored-By: Otto Moerbeek <otto.moerbeek@open-xchange.com>
pdns/filterpo.hh

index 654d3a94678e336bc3f3609f105ceb4809b18049..153b76ffcd2aa9dc38403c6bce8afc2d14770846 100644 (file)
@@ -99,7 +99,7 @@ public:
 
     const std::string& getName() const
     {
-      static std::string notSet;
+      static const std::string notSet;
       if (d_zoneData) {
         return d_zoneData->d_name;
       }