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.cpp | |
parent | aaa274245a584c633dcfdb5444bbc1dc21c0c28f (diff) | |
download | manaverse-9ff808fb20962884d56147d46c8e4de915a0735d.tar.gz manaverse-9ff808fb20962884d56147d46c8e4de915a0735d.tar.bz2 manaverse-9ff808fb20962884d56147d46c8e4de915a0735d.tar.xz manaverse-9ff808fb20962884d56147d46c8e4de915a0735d.zip |
Disable noexcept for clang and old gcc versions.
Diffstat (limited to 'src/resources/action.cpp')
-rw-r--r-- | src/resources/action.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/resources/action.cpp b/src/resources/action.cpp index a79614eef..a44cc1aee 100644 --- a/src/resources/action.cpp +++ b/src/resources/action.cpp @@ -28,7 +28,7 @@ #include "debug.h" -Action::Action(const std::string &name) noexcept : +Action::Action(const std::string &name) noexcept2 : MemoryCounter(), mAnimations(), mCounterName(name), @@ -42,7 +42,7 @@ Action::~Action() } const Animation *Action::getAnimation(SpriteDirection::Type direction) - const noexcept + const noexcept2 { Animations::const_iterator i = mAnimations.find(direction); @@ -70,12 +70,12 @@ const Animation *Action::getAnimation(SpriteDirection::Type direction) } void Action::setAnimation(const SpriteDirection::Type direction, - Animation *const animation) noexcept + Animation *const animation) noexcept2 { mAnimations[direction] = animation; } -void Action::setLastFrameDelay(const int delay) noexcept +void Action::setLastFrameDelay(const int delay) noexcept2 { FOR_EACH (AnimationIter, it, mAnimations) { |