From 57fe37f9f1c0657f38e03c7b47a8eb4c9d052caa Mon Sep 17 00:00:00 2001 From: 2youyou2 Date: Fri, 13 Jun 2014 18:00:46 +0800 Subject: [PATCH] add const word --- cocos/editor-support/cocostudio/ActionTimeline/CCNodeReader.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cocos/editor-support/cocostudio/ActionTimeline/CCNodeReader.h b/cocos/editor-support/cocostudio/ActionTimeline/CCNodeReader.h index 3d3140889a..80a8a671ac 100644 --- a/cocos/editor-support/cocostudio/ActionTimeline/CCNodeReader.h +++ b/cocos/editor-support/cocostudio/ActionTimeline/CCNodeReader.h @@ -51,10 +51,10 @@ public: cocos2d::Node* loadNodeWithContent(const std::string& content); void setRecordJsonPath(bool record) { _recordJsonPath = record; } - bool isRecordJsonPath() { return _recordJsonPath; } + bool isRecordJsonPath() const { return _recordJsonPath; } void setJsonPath(std::string jsonPath) { _jsonPath = jsonPath; } - std::string getJsonPath() { return _jsonPath; } + std::string getJsonPath() const { return _jsonPath; } protected: