diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-01-06 20:43:55 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-01-06 20:43:55 +0300 |
commit | b36a959171a071797ad260b571bccb2f92c936a9 (patch) | |
tree | 82f8ae126119a7b1693519106a8f4dda879281a3 /src/resources/sprite/animatedsprite.cpp | |
parent | 00b60acc492175720153fedb235f8287253a1e6c (diff) | |
download | plus-b36a959171a071797ad260b571bccb2f92c936a9.tar.gz plus-b36a959171a071797ad260b571bccb2f92c936a9.tar.bz2 plus-b36a959171a071797ad260b571bccb2f92c936a9.tar.xz plus-b36a959171a071797ad260b571bccb2f92c936a9.zip |
Add noexcept into animatedsprite.
Diffstat (limited to 'src/resources/sprite/animatedsprite.cpp')
-rw-r--r-- | src/resources/sprite/animatedsprite.cpp | 2 |
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; } |