From e573de057a09865aad20f3475e5ee45b7eb3418f Mon Sep 17 00:00:00 2001 From: Remi Gacogne Date: Tue, 17 Mar 2020 11:12:35 +0100 Subject: [PATCH] rec: Fix const-ness in DNSFilterEngine Co-Authored-By: Otto Moerbeek --- pdns/filterpo.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pdns/filterpo.hh b/pdns/filterpo.hh index 654d3a9467..153b76ffcd 100644 --- a/pdns/filterpo.hh +++ b/pdns/filterpo.hh @@ -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; } -- 2.47.2