diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-04-30 21:18:24 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-04-30 21:18:24 +0300 |
commit | 9ff808fb20962884d56147d46c8e4de915a0735d (patch) | |
tree | b09025e75c2e57a48e5be971953edbc14b466846 /src/resources/action.h | |
parent | aaa274245a584c633dcfdb5444bbc1dc21c0c28f (diff) | |
download | manaplus-9ff808fb20962884d56147d46c8e4de915a0735d.tar.gz manaplus-9ff808fb20962884d56147d46c8e4de915a0735d.tar.bz2 manaplus-9ff808fb20962884d56147d46c8e4de915a0735d.tar.xz manaplus-9ff808fb20962884d56147d46c8e4de915a0735d.zip |
Disable noexcept for clang and old gcc versions.
Diffstat (limited to 'src/resources/action.h')
-rw-r--r-- | src/resources/action.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/resources/action.h b/src/resources/action.h index 55a2ed12d..d86846a15 100644 --- a/src/resources/action.h +++ b/src/resources/action.h @@ -39,25 +39,25 @@ class Animation; class Action final : public MemoryCounter { public: - explicit Action(const std::string &name) noexcept; + explicit Action(const std::string &name) noexcept2; A_DELETE_COPY(Action) ~Action(); void setAnimation(const SpriteDirection::Type direction, - Animation *const animation) noexcept; + Animation *const animation) noexcept2; const Animation *getAnimation(SpriteDirection::Type direction) const - noexcept A_WARN_UNUSED; + noexcept2 A_WARN_UNUSED; - unsigned getNumber() const noexcept A_WARN_UNUSED + unsigned getNumber() const noexcept2 A_WARN_UNUSED { return mNumber; } - void setNumber(const unsigned n) noexcept + void setNumber(const unsigned n) noexcept2 { mNumber = n; } - void setLastFrameDelay(const int delay) noexcept; + void setLastFrameDelay(const int delay) noexcept2; int calcMemoryLocal() const override final; |