summaryrefslogtreecommitdiff
path: root/src/resources/map/maplayer.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-02-08 22:44:39 +0300
committerAndrei Karas <akaras@inbox.ru>2016-02-08 22:44:39 +0300
commita61ac4664d55cddb18d2d861e76629bd07676129 (patch)
tree59f5ba3ff7e65bbe94651db9ad2cf68b847d8f96 /src/resources/map/maplayer.h
parentbb3a85b045a6135f7228023a7ba55fb1c9e6bd90 (diff)
downloadmanaplus-a61ac4664d55cddb18d2d861e76629bd07676129.tar.gz
manaplus-a61ac4664d55cddb18d2d861e76629bd07676129.tar.bz2
manaplus-a61ac4664d55cddb18d2d861e76629bd07676129.tar.xz
manaplus-a61ac4664d55cddb18d2d861e76629bd07676129.zip
Add some missing const.
Diffstat (limited to 'src/resources/map/maplayer.h')
-rw-r--r--src/resources/map/maplayer.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/resources/map/maplayer.h b/src/resources/map/maplayer.h
index a02c031d1..59276a378 100644
--- a/src/resources/map/maplayer.h
+++ b/src/resources/map/maplayer.h
@@ -141,10 +141,10 @@ class MapLayer final: public ConfigListener
bool isFringeLayer() const restrict noexcept A_WARN_UNUSED
{ return mIsFringeLayer; }
- void setSpecialLayer(SpecialLayer *restrict const val) restrict
+ void setSpecialLayer(const SpecialLayer *restrict const val) restrict
{ mSpecialLayer = val; }
- void setTempLayer(SpecialLayer *restrict const val) restrict
+ void setTempLayer(const SpecialLayer *restrict const val) restrict
{ mTempLayer = val; }
int getWidth() const restrict noexcept A_WARN_UNUSED