]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
chore(luawrapper): stop linting a false positive 16487/head
authorPieter Lexis <pieter.lexis@powerdns.com>
Mon, 24 Nov 2025 09:21:51 +0000 (10:21 +0100)
committerPieter Lexis <pieter.lexis@powerdns.com>
Fri, 28 Nov 2025 12:39:35 +0000 (13:39 +0100)
ext/luawrapper/include/LuaContext.hpp

index 95192586d6d8aa58ad8ee383607d29eaba852556..7bc2a747959c8ef8710b52843762b526cf2176bd 100644 (file)
@@ -2943,6 +2943,7 @@ struct LuaContext::Reader<boost::optional<TType>>
     }
 };
 
+// NOLINTBEGIN(clang-analyzer-cplusplus.NewDeleteLeaks)
 template<typename TType>
 struct LuaContext::Reader<std::optional<TType>>
 {
@@ -2958,6 +2959,7 @@ struct LuaContext::Reader<std::optional<TType>>
         return boost::none;
     }
 };
+// NOLINTEND(clang-analyzer-cplusplus.NewDeleteLeaks)
 
 // variant
 template<typename... TTypes>