mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-24 01:31:46 +00:00
Fixed some warnings printed during wpilibC++Sim build
Change-Id: I11eea8a577af7c37c61978edd721ca16e4e41748
This commit is contained in:
committed by
Brad Miller (WPI)
parent
771b5807f4
commit
a7feaddd6b
@@ -111,7 +111,7 @@ void AnalogTrigger::SetFiltered(bool useFilteredValue) {
|
||||
* @return The index of the analog trigger.
|
||||
*/
|
||||
uint32_t AnalogTrigger::GetIndex() const {
|
||||
if (StatusIsFatal()) return ~0ul;
|
||||
if (StatusIsFatal()) return std::numeric_limits<uint32_t>::max();
|
||||
return m_index;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user