summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-01-06 19:30:11 +0300
committerAndrei Karas <akaras@inbox.ru>2016-01-06 19:30:11 +0300
commitc72c7978c95f32ea13895064a4aa75d62d177ba6 (patch)
treebcc49d354dd60c3494cde46fcbf8bc1632cfe6d5
parent3f61f517230632fc5fef8cb3c2f47247c431dd44 (diff)
downloadManaVerse-c72c7978c95f32ea13895064a4aa75d62d177ba6.tar.gz
ManaVerse-c72c7978c95f32ea13895064a4aa75d62d177ba6.tar.bz2
ManaVerse-c72c7978c95f32ea13895064a4aa75d62d177ba6.tar.xz
ManaVerse-c72c7978c95f32ea13895064a4aa75d62d177ba6.zip
Add noexcept into maplayer.
-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)