1
0
mirror of https://github.com/alliedmodders/hl2sdk.git synced 2024-12-23 01:59:43 +08:00

Fix clang warning

Fixes -Wordered-compare-function-pointers warning on clang
This commit is contained in:
GAMMACASE 2024-08-25 04:13:05 +03:00
parent e06c04d131
commit f21e0c9d8f

View File

@ -380,7 +380,7 @@ struct AtomicTypeInfo_T_t
if ( m_pTemplateType != rhs.m_pTemplateType )
return m_pTemplateType < rhs.m_pTemplateType;
return m_pfnManipulator < rhs.m_pfnManipulator;
return (void *)m_pfnManipulator < (void *)rhs.m_pfnManipulator;
}
int m_nAtomicID;