From 08b6cc44029511085c8448fdf0b36e205d701f94 Mon Sep 17 00:00:00 2001 From: KitRifty Date: Mon, 3 Nov 2025 10:02:54 -0800 Subject: [PATCH] Clarify use of overload CUtlSymbolTable::Find allows compiling C++20 on Windows --- public/tier1/utlsymbol.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/tier1/utlsymbol.h b/public/tier1/utlsymbol.h index d55afdc7..e91f9b60 100644 --- a/public/tier1/utlsymbol.h +++ b/public/tier1/utlsymbol.h @@ -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.