summaryrefslogtreecommitdiff
path: root/src/maplayer.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-08-29 23:40:41 +0300
committerAndrei Karas <akaras@inbox.ru>2012-08-29 23:40:41 +0300
commit1feb7f7edc5f8f383e594b256ef4cab0fae75b99 (patch)
tree68fe26fdd1ef25645deef894c296b6fbc80b0e13 /src/maplayer.h
parent41044107cc0a17125ebd806c9934b6eb636dafe6 (diff)
downloadplus-1feb7f7edc5f8f383e594b256ef4cab0fae75b99.tar.gz
plus-1feb7f7edc5f8f383e594b256ef4cab0fae75b99.tar.bz2
plus-1feb7f7edc5f8f383e594b256ef4cab0fae75b99.tar.xz
plus-1feb7f7edc5f8f383e594b256ef4cab0fae75b99.zip
Add const to more classes.
Diffstat (limited to 'src/maplayer.h')
-rw-r--r--src/maplayer.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/maplayer.h b/src/maplayer.h
index 03bb86409..19201ec43 100644
--- a/src/maplayer.h
+++ b/src/maplayer.h
@@ -257,13 +257,13 @@ class MapItem
int getY() const
{ return mY; }
- std::string &getComment()
+ const std::string &getComment() const
{ return mComment; }
void setComment(std::string comment)
{ mComment = comment; }
- std::string &getName()
+ const std::string &getName() const
{ return mName; }
void setName(std::string name)