From 501c48e576e53ce062336c2953d19591bdd7aba2 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 8 Dec 2018 21:46:30 +0300 Subject: Remove some wrong constexpr3 usage. --- src/resources/map/maplayer.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'src/resources/map/maplayer.h') diff --git a/src/resources/map/maplayer.h b/src/resources/map/maplayer.h index 5794ca635..ec3c846a3 100644 --- a/src/resources/map/maplayer.h +++ b/src/resources/map/maplayer.h @@ -140,12 +140,12 @@ class MapLayer final : public MemoryCounter, public ConfigListener constexpr3 bool isFringeLayer() const restrict noexcept2 A_WARN_UNUSED { return mIsFringeLayer; } - constexpr3 void setSpecialLayer(const SpecialLayer *restrict const val) - restrict noexcept2 + void setSpecialLayer(const SpecialLayer *restrict const val) + restrict noexcept2 { mSpecialLayer = val; } - constexpr3 void setTempLayer(const SpecialLayer *restrict const val) - restrict noexcept2 + void setTempLayer(const SpecialLayer *restrict const val) + restrict noexcept2 { mTempLayer = val; } constexpr3 int getWidth() const restrict noexcept2 A_WARN_UNUSED @@ -157,8 +157,8 @@ class MapLayer final : public MemoryCounter, public ConfigListener void optionChanged(const std::string &restrict value) restrict override final; - constexpr3 void setDrawLayerFlags(const MapTypeT &restrict n) - restrict noexcept2 + void setDrawLayerFlags(const MapTypeT &restrict n) + restrict noexcept2 { mDrawLayerFlags = n; mSpecialFlag = (mDrawLayerFlags != MapType::SPECIAL && @@ -166,7 +166,7 @@ class MapLayer final : public MemoryCounter, public ConfigListener mDrawLayerFlags != MapType::SPECIAL4); } - constexpr3 void setActorsFix(const int y) restrict noexcept2 + void setActorsFix(const int y) restrict noexcept2 { mActorsFix = y; } int calcMemoryLocal() const override final; @@ -182,7 +182,7 @@ class MapLayer final : public MemoryCounter, public ConfigListener return mTiles; } - constexpr3 void setTileCondition(const int c) restrict noexcept2 + void setTileCondition(const int c) restrict noexcept2 { mTileCondition = c; } -- cgit v1.2.3-70-g09d2