diff --git a/cocos/2d/CCLabelAtlas.h b/cocos/2d/CCLabelAtlas.h index 2c373fe76e..13db8b0ed1 100644 --- a/cocos/2d/CCLabelAtlas.h +++ b/cocos/2d/CCLabelAtlas.h @@ -87,7 +87,7 @@ public: virtual void draw(Renderer *renderer, const Mat4 &transform, uint32_t flags) override; #endif -protected: +CC_CONSTRUCTOR_ACCESS: LabelAtlas() :_string("") {}