]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Tidy 15759/head
authorOtto Moerbeek <otto.moerbeek@open-xchange.com>
Tue, 8 Jul 2025 11:30:35 +0000 (13:30 +0200)
committerOtto Moerbeek <otto.moerbeek@open-xchange.com>
Tue, 8 Jul 2025 11:30:35 +0000 (13:30 +0200)
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
pdns/recursordist/test-syncres_cc.cc

index 344f7cc51aee9334f89e7cf933f60ca5d05e6ece..d9ae47cb98f15ec2fdb5f59b8603763498756509 100644 (file)
@@ -30,27 +30,25 @@ ArgvMap& arg()
   return theArg;
 }
 
-BaseLua4::~BaseLua4()
-{
-}
+BaseLua4::~BaseLua4() = default;
 
 void BaseLua4::getFeatures(Features& /* features */)
 {
 }
 
+// NOLINTNEXTLINE(readability-convert-member-functions-to-static)
 bool RecursorLua4::preoutquery(const ComboAddress& /* ns */, const ComboAddress& /* requestor */, const DNSName& /* query */, const QType& /* qtype */, bool& /* isTcp */, vector<DNSRecord>& /* res */, int& /* ret */, RecEventTrace& /* et */, const struct timeval& /* tv */) const
 {
   return false;
 }
 
+// NOLINTNEXTLINE(readability-convert-member-functions-to-static)
 bool RecursorLua4::policyHitEventFilter(const ComboAddress& /* remote */, const DNSName& /* qname */, const QType& /* qtype */, bool /* tcp */, DNSFilterEngine::Policy& /* policy */, std::unordered_set<std::string>& /* tags */, std::unordered_map<std::string, bool>& /* discardedPolicies */) const
 {
   return false;
 }
 
-RecursorLua4::~RecursorLua4()
-{
-}
+RecursorLua4::~RecursorLua4() = default;
 
 void RecursorLua4::postPrepareContext()
 {