From 2f538e82638cf469697657cb543377d6bf7443a3 Mon Sep 17 00:00:00 2001 From: Aki Tuomi Date: Sun, 15 Apr 2018 20:52:11 +0300 Subject: [PATCH] dnsbackend: Make isMaster a const The const keyword fell to wrong side of the function, so move it where it belongs to. Broken in a2dfc9ea78614a9eef514a612117e507d70d4664 --- pdns/dnsbackend.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pdns/dnsbackend.hh b/pdns/dnsbackend.hh index 2ff9d1462..0d35c919b 100644 --- a/pdns/dnsbackend.hh +++ b/pdns/dnsbackend.hh @@ -87,7 +87,7 @@ struct DomainInfo return DomainInfo::Native; } - const bool isMaster(const ComboAddress& ip) + bool isMaster(const ComboAddress& ip) const { for( const auto& master: masters) { if(ComboAddress::addressOnlyEqual()(ip, master)) -- 2.40.0