mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-21 07:11:16 +00:00
MxatomId: implement inline operator==
This commit is contained in:
parent
e1ccdb9748
commit
54ce350476
@ -1,8 +1,14 @@
|
||||
#ifndef MXATOMID_H
|
||||
#define MXATOMID_H
|
||||
|
||||
#include "mxtypes.h"
|
||||
|
||||
enum LookupMode
|
||||
{
|
||||
LookupMode_Exact = 0,
|
||||
LookupMode_LowerCase = 1,
|
||||
LookupMode_UpperCase = 2,
|
||||
LookupMode_LowerCase2 = 3
|
||||
};
|
||||
|
||||
class MxAtomId
|
||||
@ -17,6 +23,11 @@ class MxAtomId
|
||||
this->m_internal = 0;
|
||||
}
|
||||
|
||||
inline MxBool operator ==(const MxAtomId &other) const
|
||||
{
|
||||
return this->m_internal == other.m_internal;
|
||||
}
|
||||
|
||||
private:
|
||||
char *m_internal;
|
||||
};
|
||||
|
||||
Loading…
Reference in New Issue
Block a user