mirror of
https://github.com/geode-sdk/geode.git
synced 2024-11-30 03:15:38 -05:00
actually fix fields lol
This commit is contained in:
parent
7dba804969
commit
ed02c8a893
1 changed files with 2 additions and 2 deletions
|
@ -134,8 +134,8 @@ namespace geode {
|
|||
// abusing the internal stuff
|
||||
// basically we dont want modify to invoke base ctors and dtors
|
||||
// we already have utilities for these, which are ccdestructor
|
||||
// and the zero constructor
|
||||
Modify() : Base(ZeroConstructor) {}
|
||||
// and the cutoff constructor
|
||||
Modify() : Base(CutoffConstructor, sizeof(Base)) {}
|
||||
|
||||
~Modify() {
|
||||
cocos2d::CCDestructor::lock(this) = true;
|
||||
|
|
Loading…
Reference in a new issue