summaryrefslogtreecommitdiff
path: root/src/map.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-04-07 19:22:02 +0300
committerAndrei Karas <akaras@inbox.ru>2013-04-07 21:38:21 +0300
commite7d34cc22d3bfd0dd44b014af1bd5fdc891141aa (patch)
treef7fa5a490a99cd4c08d051f44154d5d0e4d26222 /src/map.h
parentffeffa2314dbe03e0ced58e0c465760b54908690 (diff)
downloadmanaverse-e7d34cc22d3bfd0dd44b014af1bd5fdc891141aa.tar.gz
manaverse-e7d34cc22d3bfd0dd44b014af1bd5fdc891141aa.tar.bz2
manaverse-e7d34cc22d3bfd0dd44b014af1bd5fdc891141aa.tar.xz
manaverse-e7d34cc22d3bfd0dd44b014af1bd5fdc891141aa.zip
fix more style, add consts.
Diffstat (limited to 'src/map.h')
-rw-r--r--src/map.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map.h b/src/map.h
index 77689803f..4bfdb56fb 100644
--- a/src/map.h
+++ b/src/map.h
@@ -350,7 +350,7 @@ class Map final : public Properties, public ConfigListener
const int x, const int y,
const bool addNew = true);
- std::vector<MapItem*> &getPortals() A_WARN_UNUSED
+ const std::vector<MapItem*> &getPortals() const A_WARN_UNUSED
{ return mMapPortals; }
/**