From 9e212dba2185b793463b75c9ca5fa9e79109e8f5 Mon Sep 17 00:00:00 2001 From: Jason Felds Date: Sun, 6 May 2007 15:32:46 +0000 Subject: [PATCH] gcc typename workaround. Untested in Windows. --- stepmania/src/ScreenDebugOverlay.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;