Range for with an iterator? Huh.
This commit is contained in:
+2
-2
@@ -327,8 +327,8 @@ void InputFilter::Update( float fDeltaTime )
|
|||||||
ReportButtonChange( di, IET_REPEAT );
|
ReportButtonChange( di, IET_REPEAT );
|
||||||
}
|
}
|
||||||
|
|
||||||
FOREACH( ButtonStateMap::iterator, ButtonsToErase, it )
|
for (ButtonStateMap::iterator &it : ButtonsToErase)
|
||||||
g_ButtonStates.erase( *it );
|
g_ButtonStates.erase( it );
|
||||||
}
|
}
|
||||||
|
|
||||||
template<typename T, typename IT>
|
template<typename T, typename IT>
|
||||||
|
|||||||
Reference in New Issue
Block a user