From 9ff808fb20962884d56147d46c8e4de915a0735d Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 30 Apr 2016 21:18:24 +0300 Subject: Disable noexcept for clang and old gcc versions. --- src/resources/action.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/resources/action.h') 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; -- cgit v1.2.3-60-g2f50