gcc typename workaround. Untested in Windows.
This commit is contained in:
@@ -357,7 +357,7 @@ void ScreenDebugOverlay::UpdateText()
|
|||||||
template<typename U, typename V>
|
template<typename U, typename V>
|
||||||
bool GetValueFromMap( const map<U, V> &m, const U &key, V &val )
|
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() )
|
if( it == m.end() )
|
||||||
return false;
|
return false;
|
||||||
val = it->second;
|
val = it->second;
|
||||||
|
|||||||
Reference in New Issue
Block a user