mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-19 00:41:43 +00:00
[wpilibc] Const-qualify Watchdog comparison operator (#2767)
This commit is contained in:
@@ -220,7 +220,7 @@ void Watchdog::SuppressTimeoutMessage(bool suppress) {
|
||||
m_suppressTimeoutMessage = suppress;
|
||||
}
|
||||
|
||||
bool Watchdog::operator>(const Watchdog& rhs) {
|
||||
bool Watchdog::operator>(const Watchdog& rhs) const {
|
||||
return m_expirationTime > rhs.m_expirationTime;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user