Const-qualify frc2::Timer::HasElapsed() (#2397)

This commit is contained in:
Tyler Veness
2020-02-29 20:12:31 -08:00
committed by GitHub
parent 05a26b7279
commit b6c163acd7
2 changed files with 2 additions and 2 deletions

View File

@@ -94,7 +94,7 @@ class Timer {
* @param seconds The period to check.
* @return True if the period has passed.
*/
bool HasElapsed(units::second_t period);
bool HasElapsed(units::second_t period) const;
/**
* Check if the period specified has passed and if it has, advance the start