diff --git a/native/cocos/2d/CCNode.h b/native/cocos/2d/CCNode.h index e3cf8db160..c396000608 100644 --- a/native/cocos/2d/CCNode.h +++ b/native/cocos/2d/CCNode.h @@ -1931,7 +1931,7 @@ protected: bool _transformUpdated; ///< Whether or not the Transform object was updated since the last frame bool _cullingDirty; ///< Whether culling is dirty - char padding[7]; + private: CC_DISALLOW_COPY_AND_ASSIGN(Node); };