mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-24 08:41:16 +00:00
Restore operator!= for modern compilers
This commit is contained in:
parent
666b0cd820
commit
4bfd32e5af
@ -68,6 +68,12 @@ class MxAtomId {
|
||||
// FUNCTION: BETA10 0x100178d0
|
||||
inline MxBool operator==(const MxAtomId& p_atomId) const { return this->m_internal == p_atomId.m_internal; }
|
||||
|
||||
#ifdef COMPAT_MODE
|
||||
// Required for modern compilers.
|
||||
// MSVC 4.20 uses a synthetic function from INCLUDE/UTILITY that inverts operator==
|
||||
inline MxBool operator!=(const MxAtomId& p_atomId) const { return this->m_internal != p_atomId.m_internal; }
|
||||
#endif
|
||||
|
||||
// FUNCTION: BETA10 0x10025d40
|
||||
MxAtomId() { this->m_internal = 0; }
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user