diff --git a/cocos/editor-support/cocostudio/ActionTimeline/CCActionTimelineCache.h b/cocos/editor-support/cocostudio/ActionTimeline/CCActionTimelineCache.h index 7151498a85..08612740db 100644 --- a/cocos/editor-support/cocostudio/ActionTimeline/CCActionTimelineCache.h +++ b/cocos/editor-support/cocostudio/ActionTimeline/CCActionTimelineCache.h @@ -34,7 +34,7 @@ THE SOFTWARE. namespace flatbuffers { - struct FlatBufferBuilder; + class FlatBufferBuilder; struct NodeAction; struct TimeLine; diff --git a/cocos/editor-support/cocostudio/ActionTimeline/CSLoader.h b/cocos/editor-support/cocostudio/ActionTimeline/CSLoader.h index 5192f563eb..d80d792ef5 100644 --- a/cocos/editor-support/cocostudio/ActionTimeline/CSLoader.h +++ b/cocos/editor-support/cocostudio/ActionTimeline/CSLoader.h @@ -32,7 +32,7 @@ namespace flatbuffers { - struct FlatBufferBuilder; + class FlatBufferBuilder; struct NodeTree;