[wpilibc] Const-qualify Watchdog comparison operator (#2767)

This commit is contained in:
Tyler Veness
2020-10-03 08:36:51 -07:00
committed by GitHub
parent 21d949daa8
commit 9a63cd36cd
2 changed files with 2 additions and 2 deletions

View File

@@ -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;
}