]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
move nolint annotation to earliest param appearence
authorn0tlu5 <darfisultoni@gmail.com>
Mon, 30 Dec 2024 09:14:18 +0000 (16:14 +0700)
committern0tlu5 <darfisultoni@gmail.com>
Mon, 30 Dec 2024 09:14:18 +0000 (16:14 +0700)
pdns/lua-record.cc

index 093503979d83192921b25fc06bc4a47c8559412a..25a05edfef75e8d5a358d88428c03bf6eb05a7a5 100644 (file)
@@ -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;