Clarify use of overload CUtlSymbolTable::Find

allows compiling C++20 on Windows
This commit is contained in:
KitRifty 2025-11-03 10:02:54 -08:00
parent 7c7411cc10
commit 08b6cc4402

View File

@ -105,7 +105,7 @@ public:
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.