From a34ba3853e37fba307465c626f49998f32e842b5 Mon Sep 17 00:00:00 2001 From: n0tlu5 Date: Mon, 30 Dec 2024 16:14:18 +0700 Subject: [PATCH] move nolint annotation to earliest param appearence --- pdns/lua-record.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pdns/lua-record.cc b/pdns/lua-record.cc index 093503979d..25a05edfef 100644 --- a/pdns/lua-record.cc +++ b/pdns/lua-record.cc @@ -266,6 +266,7 @@ private: } }; +//NOLINT(readability-identifier-length) int IsUpOracle::isUp(const CheckDesc& cd) { if (!d_checkerThreadStarted.test_and_set()) { @@ -274,7 +275,6 @@ int IsUpOracle::isUp(const CheckDesc& cd) time_t now = time(nullptr); { auto statuses = d_statuses.read_lock(); - //NOLINT(readability-identifier-length) auto iter = statuses->find(cd); if (iter != statuses->end()) { iter->second->lastAccess = now; -- 2.47.2