Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
TrentHouliston committed Aug 13, 2024
1 parent 4c1b8fa commit 0389281
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/tests/api/ReactionStatistics.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,11 @@ class TestReactor : public test_util::TestBase<TestReactor> {
on<Trigger<ReactionStatistics>>().then("Reaction Stats Handler", [this](const ReactionStatistics& stats) {
// Other reactions statistics run on this because of built in NUClear reactors (e.g. chrono controller etc)
// We want to filter those out so only our own stats are shown
if (stats.identifiers.name.empty() || stats.identifiers.reactor != reactor_name) {
if (stats.identifiers->name.empty() || stats.identifiers->reactor != reactor_name) {
return;
}
events.push_back("Stats for " + stats.identifiers.name + " from " + stats.identifiers.reactor);
events.push_back(stats.identifiers.dsl);
events.push_back("Stats for " + stats.identifiers->name + " from " + stats.identifiers->reactor);
events.push_back(stats.identifiers->dsl);

// Ensure exceptions are passed through correctly in the exception handler
if (stats.exception) {
Expand Down

0 comments on commit 0389281

Please sign in to comment.