diff --git a/stepmania/src/ScreenDebugOverlay.cpp b/stepmania/src/ScreenDebugOverlay.cpp index e0da4f1989..81c10f26ff 100644 --- a/stepmania/src/ScreenDebugOverlay.cpp +++ b/stepmania/src/ScreenDebugOverlay.cpp @@ -138,7 +138,7 @@ static RString GetDebugButtonName( const IDebugLine *pLine ) template static bool GetKeyFromMap( const map &m, const V &val, U &key ) { - FOREACHM_CONST( U, V, m, iter ) + for( typename map::const_iterator iter = m.begin(); iter != m.end(); ++iter ) { if( iter->second == val ) { @@ -245,7 +245,6 @@ void ScreenDebugOverlay::Init() RString sButton = INPUTMAN->GetDeviceSpecificInputString( di ); BitmapText *p = new BitmapText; - vector ; p->LoadFromFont( THEME->GetPathF("Common", "normal") ); p->SetXY( SCREEN_CENTER_X-100+iPage*100, SCREEN_TOP+20 ); p->SetText( *s + " (" + sButton + ")" );