summaryrefslogtreecommitdiff
path: root/src/simpleanimation.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/simpleanimation.h')
-rw-r--r--src/simpleanimation.h6
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)