gcc typename workaround. Untested in Windows.

This commit is contained in:
Jason Felds
2007-05-06 15:32:46 +00:00
parent 929de1dc56
commit 9e212dba21
+1 -1
View File
@@ -357,7 +357,7 @@ void ScreenDebugOverlay::UpdateText()
template<typename U, typename V>
bool GetValueFromMap( const map<U, V> &m, const U &key, V &val )
{
map<U, V>::const_iterator it = m.find(key);
typename map<U, V>::const_iterator it = m.find(key);
if( it == m.end() )
return false;
val = it->second;