summaryrefslogtreecommitdiff
path: root/src/resources/sprite/animatedsprite.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-01-06 20:43:55 +0300
committerAndrei Karas <akaras@inbox.ru>2016-01-06 20:43:55 +0300
commitb36a959171a071797ad260b571bccb2f92c936a9 (patch)
tree82f8ae126119a7b1693519106a8f4dda879281a3 /src/resources/sprite/animatedsprite.cpp
parent00b60acc492175720153fedb235f8287253a1e6c (diff)
downloadmv-b36a959171a071797ad260b571bccb2f92c936a9.tar.gz
mv-b36a959171a071797ad260b571bccb2f92c936a9.tar.bz2
mv-b36a959171a071797ad260b571bccb2f92c936a9.tar.xz
mv-b36a959171a071797ad260b571bccb2f92c936a9.zip
Add noexcept into animatedsprite.
Diffstat (limited to 'src/resources/sprite/animatedsprite.cpp')
-rw-r--r--src/resources/sprite/animatedsprite.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resources/sprite/animatedsprite.cpp b/src/resources/sprite/animatedsprite.cpp
index 27b221bd8..216d94106 100644
--- a/src/resources/sprite/animatedsprite.cpp
+++ b/src/resources/sprite/animatedsprite.cpp
@@ -388,7 +388,7 @@ std::string AnimatedSprite::getIdPath() const restrict2
return mSprite->getIdPath();
}
-const Image* AnimatedSprite::getImage() const restrict2
+const Image* AnimatedSprite::getImage() const restrict2 noexcept
{
return mFrame ? mFrame->image : nullptr;
}