Skip to content

Commit

Permalink
clang
Browse files Browse the repository at this point in the history
  • Loading branch information
TrentHouliston committed Jul 14, 2024
1 parent b3aef90 commit 20f3007
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/tests/api/ReactionStatisticsTiming.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ TEST_CASE("Testing reaction statistics timing", "[api][reactionstatistics][timin
auto make_delta = [](const std::vector<std::pair<std::string, NUClear::clock::time_point>>& events) {
std::vector<std::string> delta_events;
auto first = events.front().second;
for (auto& event : events) {
for (const auto& event : events) {
auto delta = event.second - first;
auto units = test_util::round_to_test_units(delta / scale).count();
delta_events.push_back(event.first + " @ Step " + std::to_string(units));
Expand Down

0 comments on commit 20f3007

Please sign in to comment.