diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/particlecontainer.cpp | 4 | ||||
-rw-r--r-- | 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<Particle *>::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 */ }; /** |