summaryrefslogtreecommitdiff
path: root/src/resources/map/mapitem.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-06-13 17:57:32 +0300
committerAndrei Karas <akaras@inbox.ru>2017-06-13 17:57:32 +0300
commitc4d8fa788e0f89d73ba5ae2b66b79ad0351c5fbf (patch)
tree37b78a9b847d938b5a34acf2f000fef3f31eef44 /src/resources/map/mapitem.h
parent1302ad311b666459c4de36420af09c2a1e7867d0 (diff)
downloadmanaverse-c4d8fa788e0f89d73ba5ae2b66b79ad0351c5fbf.tar.gz
manaverse-c4d8fa788e0f89d73ba5ae2b66b79ad0351c5fbf.tar.bz2
manaverse-c4d8fa788e0f89d73ba5ae2b66b79ad0351c5fbf.tar.xz
manaverse-c4d8fa788e0f89d73ba5ae2b66b79ad0351c5fbf.zip
Add missing const references to constructor parameters.
Diffstat (limited to 'src/resources/map/mapitem.h')
-rw-r--r--src/resources/map/mapitem.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/resources/map/mapitem.h b/src/resources/map/mapitem.h
index c8bcf1cda..cefbaea57 100644
--- a/src/resources/map/mapitem.h
+++ b/src/resources/map/mapitem.h
@@ -39,9 +39,13 @@ class MapItem final
explicit MapItem(const int type);
- MapItem(const int type, std::string comment);
+ MapItem(const int type,
+ const std::string &comment);
- MapItem(const int type, std::string comment, const int x, const int y);
+ MapItem(const int type,
+ const std::string &comment,
+ const int x,
+ const int y);
A_DELETE_COPY(MapItem)