diff --git a/sp/src/game/shared/gamestringpool.cpp b/sp/src/game/shared/gamestringpool.cpp index 59670e94..a0544cb7 100644 --- a/sp/src/game/shared/gamestringpool.cpp +++ b/sp/src/game/shared/gamestringpool.cpp @@ -55,22 +55,12 @@ public: void Dump( void ) { - CUtlVector strings( 0, m_Strings.Count() ); for (UtlHashHandle_t i = m_Strings.FirstHandle(); i != m_Strings.InvalidHandle(); i = m_Strings.NextHandle(i)) { - strings.AddToTail( strings[i] ); + DevMsg(" %d (0x%p) : %s\n", i, m_Strings[i], m_Strings[i]); } - struct _Local { - static int __cdecl F(const char * const *a, const char * const *b) { return strcmp(*a, *b); } - }; - strings.Sort( _Local::F ); - - for ( int i = 0; i < strings.Count(); ++i ) - { - DevMsg( " %d (0x%p) : %s\n", i, strings[i], strings[i] ); - } - DevMsg( "\n" ); - DevMsg( "Size: %d items\n", strings.Count() ); + DevMsg("\n"); + DevMsg("Size: %d items\n", m_Strings.Count()); } const char *Find(const char *string)