diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-04-07 17:55:36 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-04-07 21:38:21 +0300 |
commit | ffeffa2314dbe03e0ced58e0c465760b54908690 (patch) | |
tree | 3da4d65e43a4b55aed7c01ec612c9dec50d1bd1c /src/simpleanimation.h | |
parent | ae550d179c25e149f7e8a8d70011b364fb0d85d6 (diff) | |
download | manaverse-ffeffa2314dbe03e0ced58e0c465760b54908690.tar.gz manaverse-ffeffa2314dbe03e0ced58e0c465760b54908690.tar.bz2 manaverse-ffeffa2314dbe03e0ced58e0c465760b54908690.tar.xz manaverse-ffeffa2314dbe03e0ced58e0c465760b54908690.zip |
fix cide style.
Add explicit keyword to some constructors.
Diffstat (limited to 'src/simpleanimation.h')
-rw-r--r-- | src/simpleanimation.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/simpleanimation.h b/src/simpleanimation.h index a0dc60a72..61a4ef152 100644 --- a/src/simpleanimation.h +++ b/src/simpleanimation.h @@ -45,13 +45,13 @@ class SimpleAnimation final * Creates a simple animation with an already created \a animation. * Takes ownership over the given animation. */ - SimpleAnimation(Animation *const animation); + explicit SimpleAnimation(Animation *const animation); /** * Creates a simple animation that creates its animation from XML Data. */ - SimpleAnimation(const XmlNodePtr animationNode, - const std::string& dyePalettes = std::string()); + explicit SimpleAnimation(const XmlNodePtr animationNode, + const std::string& dyePalettes); A_DELETE_COPY(SimpleAnimation) |