Skip to content

Commit

Permalink
Don't sort the buffer
Browse files Browse the repository at this point in the history
  • Loading branch information
KangarooKoala committed Oct 10, 2024
1 parent 3ab00cf commit 8c84085
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion wpimath/src/test/native/cpp/TimeTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,6 @@ void ProcessDurations(const wpi::array<units::nanosecond_t, N>& durations,
wpi::print("{}Last 10: {}\n", prefix, buffer);

wpi::array<units::nanosecond_t, N> sorted{durations};
std::sort(sorted.begin(), sorted.end());
}

template <size_t N>
Expand Down

0 comments on commit 8c84085

Please sign in to comment.