From be01bede636ed4712a829c6b3104767fd3dfb12c Mon Sep 17 00:00:00 2001 From: Vladimir Timofeev Date: Sun, 14 Dec 2014 21:04:14 +0300 Subject: [PATCH] Fix couple of warnings. Make forward declarations to match to real declarations. --- .../cocostudio/ActionTimeline/CCActionTimelineCache.h | 2 +- cocos/editor-support/cocostudio/ActionTimeline/CSLoader.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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;