mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-23 08:24:16 +00:00
Implement MxAtomId and reference counter (stl set) (#109)
* Implement MxAtomId and reference counter (stl set) * Partial success in hiding 4786 warning spam. * Build out most of MxOmni::Destroy since it also touches the set * Add some size asserts
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
#define MXATOMID_H
|
||||
|
||||
#include "mxtypes.h"
|
||||
#include "mxatomidcounter.h"
|
||||
|
||||
enum LookupMode
|
||||
{
|
||||
@@ -27,9 +28,13 @@ public:
|
||||
{
|
||||
return this->m_internal == other.m_internal;
|
||||
}
|
||||
void Clear();
|
||||
|
||||
private:
|
||||
char *m_internal;
|
||||
MxAtomIdCounter* GetCounter(const char *, LookupMode);
|
||||
void Destroy();
|
||||
|
||||
const char *m_internal;
|
||||
};
|
||||
|
||||
#endif // MXATOMID_H
|
||||
|
Reference in New Issue
Block a user