From d671eb90eb2ba431ba15123309368520608e5ba3 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 25 May 2014 13:27:25 +0300 Subject: Fix align in constructors. --- src/particle/animationparticle.cpp | 2 +- src/particle/imageparticle.cpp | 2 +- src/particle/particlecontainer.cpp | 2 +- src/particle/particleemitterprop.h | 2 +- src/particle/rotationalparticle.cpp | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) (limited to 'src/particle') diff --git a/src/particle/animationparticle.cpp b/src/particle/animationparticle.cpp index dccd3d037..ec159e8a4 100644 --- a/src/particle/animationparticle.cpp +++ b/src/particle/animationparticle.cpp @@ -35,7 +35,7 @@ AnimationParticle::AnimationParticle(Animation *const animation) : } AnimationParticle::AnimationParticle(XmlNodePtrConst animationNode, - const std::string& dyePalettes): + const std::string& dyePalettes) : ImageParticle(nullptr), mAnimation(new SimpleAnimation(animationNode, dyePalettes)) { diff --git a/src/particle/imageparticle.cpp b/src/particle/imageparticle.cpp index 92f458e41..c637c1859 100644 --- a/src/particle/imageparticle.cpp +++ b/src/particle/imageparticle.cpp @@ -30,7 +30,7 @@ std::map ImageParticle::imageParticleCountByName; -ImageParticle::ImageParticle(Image *const image): +ImageParticle::ImageParticle(Image *const image) : Particle(), mImage(image) { diff --git a/src/particle/particlecontainer.cpp b/src/particle/particlecontainer.cpp index a2b0f29a9..798676c59 100644 --- a/src/particle/particlecontainer.cpp +++ b/src/particle/particlecontainer.cpp @@ -27,7 +27,7 @@ #include "debug.h" ParticleContainer::ParticleContainer(ParticleContainer *const parent, - const bool delParent): + const bool delParent) : mNext(parent), mDelParent(delParent) { diff --git a/src/particle/particleemitterprop.h b/src/particle/particleemitterprop.h index 21f4ff8fa..ef3a6d313 100644 --- a/src/particle/particleemitterprop.h +++ b/src/particle/particleemitterprop.h @@ -44,7 +44,7 @@ enum ChangeFunc template struct ParticleEmitterProp final { - ParticleEmitterProp(): + ParticleEmitterProp() : minVal(0), maxVal(0), changeFunc(FUNC_NONE), changeAmplitude(0), changePeriod(0), changePhase(0) { diff --git a/src/particle/rotationalparticle.cpp b/src/particle/rotationalparticle.cpp index 976234f83..aab0a4610 100644 --- a/src/particle/rotationalparticle.cpp +++ b/src/particle/rotationalparticle.cpp @@ -40,7 +40,7 @@ RotationalParticle::RotationalParticle(Animation *const animation) : } RotationalParticle::RotationalParticle(const XmlNodePtr animationNode, - const std::string& dyePalettes): + const std::string& dyePalettes) : ImageParticle(nullptr), mAnimation(new SimpleAnimation(animationNode, dyePalettes)) { -- cgit v1.2.3-70-g09d2