From f34beb160d963e3a16f2d4aa310eb79eef46cff0 Mon Sep 17 00:00:00 2001 From: Trent Houliston Date: Fri, 9 Aug 2024 14:51:21 +1000 Subject: [PATCH] lint on wrong line --- src/util/FunctionFusion.hpp | 4 ++-- tests/networktest.cpp | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/util/FunctionFusion.hpp b/src/util/FunctionFusion.hpp index 8d9db800..c78dfe9d 100644 --- a/src/util/FunctionFusion.hpp +++ b/src/util/FunctionFusion.hpp @@ -92,9 +92,9 @@ namespace util { * @tparam Arguments the type of the provided arguments */ template - // This function is just here to satisfy the templates - // NOLINTNEXTLINE(cppcoreguidelines-rvalue-reference-param-not-moved) struct FunctionFusionCaller, Shared, std::tuple<>, std::tuple> { + // This function is just here to satisfy the templates + // NOLINTNEXTLINE(cppcoreguidelines-rvalue-reference-param-not-moved) static std::tuple<> call(Arguments&&... /*args*/) { return {}; } diff --git a/tests/networktest.cpp b/tests/networktest.cpp index aa2d7202..d4dc9e6f 100644 --- a/tests/networktest.cpp +++ b/tests/networktest.cpp @@ -121,10 +121,11 @@ class TestReactor : public NUClear::Reactor { }; } // namespace - +extern "C" { void sigint_handler(int /*signal*/) { NUClear::PowerPlant::powerplant->shutdown(); } +} // NOLINTNEXTLINE(bugprone-exception-escape) int main(int argc, const char* argv[]) {