diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-01-06 19:30:11 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-01-06 19:30:11 +0300 |
commit | c72c7978c95f32ea13895064a4aa75d62d177ba6 (patch) | |
tree | bcc49d354dd60c3494cde46fcbf8bc1632cfe6d5 /src/resources/map | |
parent | 3f61f517230632fc5fef8cb3c2f47247c431dd44 (diff) | |
download | manaplus-c72c7978c95f32ea13895064a4aa75d62d177ba6.tar.gz manaplus-c72c7978c95f32ea13895064a4aa75d62d177ba6.tar.bz2 manaplus-c72c7978c95f32ea13895064a4aa75d62d177ba6.tar.xz manaplus-c72c7978c95f32ea13895064a4aa75d62d177ba6.zip |
Add noexcept into maplayer.
Diffstat (limited to 'src/resources/map')
-rw-r--r-- | src/resources/map/maplayer.h | 6 |
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) |