Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

close #3835:fix TMXMapInfo::startElement insert property to properties fail. #5210

Merged
merged 2 commits into from Jan 24, 2014

Conversation

WenhaiLin
Copy link
Contributor

No description provided.

@@ -250,7 +250,8 @@ class CC_DLL TMXMapInfo : public Object, public SAXDelegator
inline void setStoringCharacters(bool storingCharacters) { _storingCharacters = storingCharacters; };

/// properties
inline ValueMap getProperties() const { return _properties; };
inline const ValueMap& getProperties() const { return _properties; }
inline ValueMap& getProperties() { return _properties; }
inline void setProperties(ValueMap properties) {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add const ValueMap& for setters. Thanks.

minggo added a commit that referenced this pull request Jan 24, 2014
close #3835:fix TMXMapInfo::startElement insert property to properties fail.
@minggo minggo merged commit 77afd11 into cocos2d:develop Jan 24, 2014
angeltown pushed a commit to angeltown/cocos2d-x that referenced this pull request Apr 28, 2014
close cocos2d#3835:fix TMXMapInfo::startElement insert property to properties fail.
angeltown pushed a commit to angeltown/cocos2d-x that referenced this pull request Apr 29, 2014
close cocos2d#3835:fix TMXMapInfo::startElement insert property to properties fail.
angeltown pushed a commit to angeltown/cocos2d-x that referenced this pull request Apr 30, 2014
close cocos2d#3835:fix TMXMapInfo::startElement insert property to properties fail.
angeltown pushed a commit to angeltown/cocos2d-x that referenced this pull request Apr 30, 2014
close cocos2d#3835:fix TMXMapInfo::startElement insert property to properties fail.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants