mirror of
https://github.com/alliedmodders/hl2sdk.git
synced 2024-12-23 01:59:43 +08:00
Fix error: ‘max’ was not declared in this scope (#75)
This commit is contained in:
parent
6807867df4
commit
e369218ae8
@ -79,7 +79,7 @@ public:
|
|||||||
m_errorStack[m_errorIndex] = symName;
|
m_errorStack[m_errorIndex] = symName;
|
||||||
}
|
}
|
||||||
m_errorIndex++;
|
m_errorIndex++;
|
||||||
m_maxErrorIndex = max( m_maxErrorIndex, (m_errorIndex-1) );
|
m_maxErrorIndex = MAX( m_maxErrorIndex, (m_errorIndex-1) );
|
||||||
return m_errorIndex-1;
|
return m_errorIndex-1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user