Restore operator!= for modern compilers

This commit is contained in:
disinvite 2024-04-25 11:23:03 -04:00
parent 666b0cd820
commit 4bfd32e5af

View File

@ -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; }