From 5f97d3fd31bb5a17037610342ea09c21da9c47d3 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 25 Aug 2012 12:55:31 +0300 Subject: change vars and methods to const. --- src/animationparticle.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/animationparticle.cpp') diff --git a/src/animationparticle.cpp b/src/animationparticle.cpp index c1bf251af..6943cab57 100644 --- a/src/animationparticle.cpp +++ b/src/animationparticle.cpp @@ -27,13 +27,15 @@ #include "debug.h" -AnimationParticle::AnimationParticle(Map *map, Animation *animation): +AnimationParticle::AnimationParticle(Map *const map, + Animation *const animation) : ImageParticle(map, nullptr), mAnimation(new SimpleAnimation(animation)) { } -AnimationParticle::AnimationParticle(Map *map, XmlNodePtr animationNode, +AnimationParticle::AnimationParticle(Map *const map, + XmlNodePtr const animationNode, const std::string& dyePalettes): ImageParticle(map, nullptr), mAnimation(new SimpleAnimation(animationNode, dyePalettes)) -- cgit v1.2.3-70-g09d2