mirror of
https://github.com/alliedmodders/hl2sdk.git
synced 2025-09-20 04:26:03 +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 )
|
if ( m_pTemplateType != rhs.m_pTemplateType )
|
||||||
return 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;
|
int m_nAtomicID;
|
||||||
|
Reference in New Issue
Block a user