Skip to content

Commit

Permalink
lint on wrong line
Browse files Browse the repository at this point in the history
  • Loading branch information
TrentHouliston committed Aug 9, 2024
1 parent 3b0cc7f commit f34beb1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/util/FunctionFusion.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,9 @@ namespace util {
* @tparam Arguments the type of the provided arguments
*/
template <int Shared, typename... Arguments>
// This function is just here to satisfy the templates
// NOLINTNEXTLINE(cppcoreguidelines-rvalue-reference-param-not-moved)
struct FunctionFusionCaller<std::tuple<>, Shared, std::tuple<>, std::tuple<Arguments...>> {
// This function is just here to satisfy the templates
// NOLINTNEXTLINE(cppcoreguidelines-rvalue-reference-param-not-moved)
static std::tuple<> call(Arguments&&... /*args*/) {
return {};
}
Expand Down
3 changes: 2 additions & 1 deletion tests/networktest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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[]) {
Expand Down

0 comments on commit f34beb1

Please sign in to comment.