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/maplayer.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/resources/map/maplayer.h') 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 -- cgit v1.2.3-70-g09d2