Remove unused fileds from ax::Objec

This commit is contained in:
halx99 2024-05-05 00:42:16 +08:00
parent 33c328e910
commit 3ba2ef2d61
2 changed files with 0 additions and 9 deletions

View File

@ -48,8 +48,6 @@ Object::Object()
: _referenceCount(1) // when the Object is created, the reference count of it is 1
#if AX_ENABLE_SCRIPT_BINDING
, _luaID(0)
, _scriptObject(nullptr)
, _rooted(false)
#endif
{
#if AX_ENABLE_SCRIPT_BINDING

View File

@ -145,13 +145,6 @@ public:
unsigned int _ID;
/// Lua reference id
int _luaID;
/// scriptObject, support for swift
void* _scriptObject;
/**
When true, it means that the object was already rooted.
*/
bool _rooted;
#endif
// Memory leak diagnostic data (only included when AX_OBJECT_LEAK_DETECTION is defined and its value isn't zero)