mirror of
https://github.com/alliedmodders/hl2sdk.git
synced 2025-12-06 18:18:23 +00:00
Clarify use of overload CUtlSymbolTable::Find (#352)
allows compiling C++20 on Windows
This commit is contained in:
parent
7c7411cc10
commit
257c8981a9
@ -105,7 +105,7 @@ public:
|
|||||||
|
|
||||||
inline bool HasElement( const char* pStr ) const
|
inline bool HasElement( const char* pStr ) const
|
||||||
{
|
{
|
||||||
return Find( pStr ) != UTL_INVAL_SYMBOL;
|
return (UtlSymId_t)(Find( pStr )) != UTL_INVAL_SYMBOL;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Remove all symbols in the table.
|
// Remove all symbols in the table.
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user