summaryrefslogtreecommitdiff
path: root/src/resources/action.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-04-30 21:18:24 +0300
committerAndrei Karas <akaras@inbox.ru>2016-04-30 21:18:24 +0300
commit9ff808fb20962884d56147d46c8e4de915a0735d (patch)
treeb09025e75c2e57a48e5be971953edbc14b466846 /src/resources/action.cpp
parentaaa274245a584c633dcfdb5444bbc1dc21c0c28f (diff)
downloadplus-9ff808fb20962884d56147d46c8e4de915a0735d.tar.gz
plus-9ff808fb20962884d56147d46c8e4de915a0735d.tar.bz2
plus-9ff808fb20962884d56147d46c8e4de915a0735d.tar.xz
plus-9ff808fb20962884d56147d46c8e4de915a0735d.zip
Disable noexcept for clang and old gcc versions.
Diffstat (limited to 'src/resources/action.cpp')
-rw-r--r--src/resources/action.cpp8
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)
{