mirror of
https://github.com/alliedmodders/hl2sdk.git
synced 2025-09-19 12:06:07 +08:00
Fix clang warning
Fixes -Wordered-compare-function-pointers warning on clang
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user