summaryrefslogtreecommitdiff
path: root/src/resources
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources')
-rw-r--r--src/resources/map/maplayer.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/resources/map/maplayer.h b/src/resources/map/maplayer.h
index 4dede74c3..a02c031d1 100644
--- a/src/resources/map/maplayer.h
+++ b/src/resources/map/maplayer.h
@@ -138,7 +138,7 @@ class MapLayer final: public ConfigListener
const int scrollY,
const Actors &actors) const restrict A_NONNULL(2);
- bool isFringeLayer() const restrict A_WARN_UNUSED
+ bool isFringeLayer() const restrict noexcept A_WARN_UNUSED
{ return mIsFringeLayer; }
void setSpecialLayer(SpecialLayer *restrict const val) restrict
@@ -147,10 +147,10 @@ class MapLayer final: public ConfigListener
void setTempLayer(SpecialLayer *restrict const val) restrict
{ mTempLayer = val; }
- int getWidth() const restrict A_WARN_UNUSED
+ int getWidth() const restrict noexcept A_WARN_UNUSED
{ return mWidth; }
- int getHeight() const restrict A_WARN_UNUSED
+ int getHeight() const restrict noexcept A_WARN_UNUSED
{ return mHeight; }
void optionChanged(const std::string &restrict value)