Refine MxObjectFactory (#205)

* Refine MxObjectFactory

* Change interface of Destroy

---------

Co-authored-by: Christian Semmler <mail@csemmler.com>
This commit is contained in:
Andrew Gutekanst
2023-10-14 08:59:06 -04:00
committed by GitHub
parent a24a798c82
commit c66b6aa123
4 changed files with 13 additions and 11 deletions

View File

@@ -38,7 +38,7 @@ public:
}
virtual MxCore *Create(const char *p_name); // vtable 0x14
virtual void Destroy(void *p_object); // vtable 0x18
virtual void Destroy(MxCore *p_object); // vtable 0x18
private:
#define X(V) MxAtomId m_id##V;
FOR_MXOBJECTFACTORY_OBJECTS(X)