add const word

This commit is contained in:
2youyou2 2014-06-13 18:00:46 +08:00
parent 369ed3e6d3
commit 57fe37f9f1
1 changed files with 2 additions and 2 deletions

View File

@ -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: