mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-27 02:01:42 +00:00
Const-qualify frc2::Timer::HasElapsed() (#2397)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user