diff --git a/stepmania/src/ScreenDebugOverlay.cpp b/stepmania/src/ScreenDebugOverlay.cpp index b59f609383..918e552a68 100644 --- a/stepmania/src/ScreenDebugOverlay.cpp +++ b/stepmania/src/ScreenDebugOverlay.cpp @@ -357,7 +357,7 @@ void ScreenDebugOverlay::UpdateText() template bool GetValueFromMap( const map &m, const U &key, V &val ) { - map::const_iterator it = m.find(key); + typename map::const_iterator it = m.find(key); if( it == m.end() ) return false; val = it->second;