Skip to content

Commit

Permalink
Print to make sure access isn't optimized away
Browse files Browse the repository at this point in the history
  • Loading branch information
KangarooKoala committed Oct 10, 2024
1 parent 6eb8012 commit 393a91d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wpimath/src/test/native/cpp/TimeTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ void ProcessDurations(const wpi::array<units::nanosecond_t, N>& durations,

wpi::array<units::nanosecond_t, N> sorted{durations};

[[ maybe_unused ]] auto foo = sorted[0];
wpi::print("{}\n", sorted[0]);
}

template <size_t N>
Expand Down

0 comments on commit 393a91d

Please sign in to comment.