summaryrefslogtreecommitdiff
path: root/src/map.h
diff options
context:
space:
mode:
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; }
/**