From d1590377de1141144d59ca1160de2822177f6f2a Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 7 Feb 2017 20:38:10 +0300 Subject: Add support for tinyxml2 for reading / writing xml files. --- src/resources/animation/simpleanimation.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/resources/animation/simpleanimation.h') diff --git a/src/resources/animation/simpleanimation.h b/src/resources/animation/simpleanimation.h index 630477d42..2c068acff 100644 --- a/src/resources/animation/simpleanimation.h +++ b/src/resources/animation/simpleanimation.h @@ -50,7 +50,7 @@ class SimpleAnimation final /** * Creates a simple animation that creates its animation from XML Data. */ - SimpleAnimation(const XmlNodePtr animationNode, + SimpleAnimation(XmlNodeConstPtr animationNode, const std::string& dyePalettes); A_DELETE_COPY(SimpleAnimation) @@ -74,7 +74,7 @@ class SimpleAnimation final Image *getCurrentImage() const A_WARN_UNUSED; private: - void initializeAnimation(const XmlNodePtr animationNode, + void initializeAnimation(XmlNodeConstPtr animationNode, const std::string& dyePalettes = std::string()); -- cgit v1.2.3-70-g09d2