Skip to content

Commit 7f55703

Browse files
committed
Simplify access of sorted[0]
1 parent 62e866f commit 7f55703

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

wpimath/src/test/native/cpp/TimeTest.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ void ProcessDurations(const wpi::array<units::nanosecond_t, N>& durations,
9797

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

100-
wpi::print("{}Fastest: {}\n", prefix, sorted[0]);
100+
[[ maybe_unused ]] auto foo = sorted[0];
101101
}
102102

103103
template <size_t N>

0 commit comments

Comments
 (0)