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/sprite/animatedsprite.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/resources/sprite/animatedsprite.cpp') diff --git a/src/resources/sprite/animatedsprite.cpp b/src/resources/sprite/animatedsprite.cpp index 4daf6f7f6..87fe72a7b 100644 --- a/src/resources/sprite/animatedsprite.cpp +++ b/src/resources/sprite/animatedsprite.cpp @@ -405,7 +405,7 @@ std::string AnimatedSprite::getIdPath() const restrict2 return mSprite->getIdPath(); } -const Image* AnimatedSprite::getImage() const restrict2 noexcept +const Image* AnimatedSprite::getImage() const restrict2 noexcept2 { return mFrame ? mFrame->image : nullptr; } -- cgit v1.2.3-70-g09d2