From 4b6141e28035ed237419d64eee69739219989b73 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 28 Jul 2013 21:25:38 +0300 Subject: move bools in particlecontainer. --- src/particlecontainer.cpp | 4 ++-- src/particlecontainer.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/particlecontainer.cpp b/src/particlecontainer.cpp index 26f7b5403..a890f0d9c 100644 --- a/src/particlecontainer.cpp +++ b/src/particlecontainer.cpp @@ -30,8 +30,8 @@ typedef std::list::const_iterator ParticleListCIter; ParticleContainer::ParticleContainer(ParticleContainer *const parent, const bool delParent): - mDelParent(delParent), - mNext(parent) + mNext(parent), + mDelParent(delParent) { } diff --git a/src/particlecontainer.h b/src/particlecontainer.h index 40968a657..c78c0dbb9 100644 --- a/src/particlecontainer.h +++ b/src/particlecontainer.h @@ -68,8 +68,8 @@ public: virtual void moveTo(const float x, const float y); protected: - bool mDelParent; /**< Delete mNext in destructor */ ParticleContainer *mNext; /**< Contained container, if any */ + bool mDelParent; /**< Delete mNext in destructor */ }; /** -- cgit v1.2.3-70-g09d2