fix build with clang-20 ref #389 #433 #436 fix #379
Build / build-linux-i386 (push) Has been cancelled
Build / build-linux-amd64 (push) Has been cancelled
Build / build-android-armv7a (push) Has been cancelled
Build / build-windows-i386 (push) Has been cancelled
Build / build-windows-amd64 (push) Has been cancelled
Build / build-dedicated-windows-i386 (push) Has been cancelled
Build / build-dedicated-windows-amd64 (push) Has been cancelled
Build / build-dedicated-linux-i386 (push) Has been cancelled
Build / build-dedicated-linux-amd64 (push) Has been cancelled
Build / build-macos-amd64 (push) Has been cancelled
Build / build-dedicated-macos-amd64 (push) Has been cancelled
Tests / tests-linux-i386 (push) Has been cancelled
Tests / tests-linux-amd64 (push) Has been cancelled
Tests / tests-macos-amd64 (push) Has been cancelled
Tests / tests-windows-i386 (push) Has been cancelled
Tests / tests-windows-amd64 (push) Has been cancelled

This commit is contained in:
nillerusr
2025-11-25 06:24:23 +03:00
parent 29985681a1
commit ed8209cc35
3 changed files with 12 additions and 11 deletions
+3 -3
View File
@@ -151,7 +151,7 @@ InitReturnVal_t CDataModel::Init( )
//#define _ELEMENT_HISTOGRAM_
#ifdef _ELEMENT_HISTOGRAM_
CUtlMap< UtlSymId_t, int > g_typeHistogram( 0, 100, DefLessFunc( UtlSymId_t ) );
#endif _ELEMENT_HISTOGRAM_
#endif //_ELEMENT_HISTOGRAM_
//-----------------------------------------------------------------------------
@@ -166,7 +166,7 @@ void CDataModel::Shutdown()
Msg( "%d\t%s\n", g_typeHistogram.Element( i ), GetString( g_typeHistogram.Key( i ) ) );
}
Msg( "\n" );
#endif _ELEMENT_HISTOGRAM_
#endif //_ELEMENT_HISTOGRAM_
int c = GetAllocatedElementCount();
if ( c > 0 )
@@ -1934,7 +1934,7 @@ CDmElement* CDataModel::CreateElement( const DmElementReference_t &ref, const ch
{
g_typeHistogram.Insert( typeSym, 1 );
}
#endif _ELEMENT_HISTOGRAM_
#endif //_ELEMENT_HISTOGRAM_
}
return pElement;