From a61ac4664d55cddb18d2d861e76629bd07676129 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 8 Feb 2016 22:44:39 +0300 Subject: Add some missing const. --- src/resources/map/map.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/resources/map/map.h') diff --git a/src/resources/map/map.h b/src/resources/map/map.h index 4ee387f8f..3ffedc3de 100644 --- a/src/resources/map/map.h +++ b/src/resources/map/map.h @@ -348,7 +348,7 @@ class Map final : public Properties, public ConfigListener void setWalkLayer(WalkLayer *restrict const layer) restrict2 noexcept { mWalkLayer = layer; } - void addHeights(MapHeights *restrict const heights) restrict2; + void addHeights(const MapHeights *restrict const heights) restrict2; uint8_t getHeightOffset(const int x, const int y) const restrict2; -- cgit v1.2.3-60-g2f50