diff --git a/cocos/editor-support/cocostudio/ActionTimeline/CCActionTimeline.h b/cocos/editor-support/cocostudio/ActionTimeline/CCActionTimeline.h index 567188dec2..acf03b2582 100644 --- a/cocos/editor-support/cocostudio/ActionTimeline/CCActionTimeline.h +++ b/cocos/editor-support/cocostudio/ActionTimeline/CCActionTimeline.h @@ -45,10 +45,10 @@ public: virtual void setActionTag(int actionTag) { _actionTag = actionTag; } virtual int getActionTag() const { return _actionTag; } -protected: +CC_CONSTRUCTOR_ACCESS: ActionTimelineData(); virtual bool init(int actionTag); - +protected: int _actionTag; };