From ffeffa2314dbe03e0ced58e0c465760b54908690 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 7 Apr 2013 17:55:36 +0300 Subject: fix cide style. Add explicit keyword to some constructors. --- src/simpleanimation.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/simpleanimation.h') 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) -- cgit v1.2.3-60-g2f50