Skip to content

Commit

Permalink
clang-tidy
Browse files Browse the repository at this point in the history
  • Loading branch information
TrentHouliston committed Aug 24, 2024
1 parent d103462 commit a215b86
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/dsl/word/Pool.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ namespace dsl {
}

template <typename, typename... A>
static constexpr bool check(A&&... /*unused*/) {
static constexpr bool check(const A&... /*unused*/) {
return true;
}

Expand Down
2 changes: 1 addition & 1 deletion tests/tests/dsl/FusionInOrder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
#include <catch2/catch_test_macros.hpp>
#include <nuclear>

std::vector<int> events;
std::vector<int> events; // NOLINT(cppcoreguidelines-avoid-non-const-global-variables,-warnings-as-errors)

template <int i>
struct Extension {
Expand Down
2 changes: 1 addition & 1 deletion tests/tests/dsl/IdleGlobal.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ class TestReactor : public test_util::TestBase<TestReactor> {
});
}

void wait_for_set(const std::atomic<bool>& flag) {
static void wait_for_set(const std::atomic<bool>& flag) {
while (!flag.load(std::memory_order_acquire)) {
std::this_thread::sleep_for(test_util::TimeUnit(1));
}
Expand Down

0 comments on commit a215b86

Please sign in to comment.