diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-10-18 18:45:20 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-10-19 15:12:21 +0300 |
commit | 340e7ebdc8d86b0f3dbd00a459765bc1f1d876e0 (patch) | |
tree | 64b931b3c217b96f175b826907b86e04becab0a9 /src/particle | |
parent | 2033ce76a8fba2148bc034d16e1d226bc757c47f (diff) | |
download | mv-340e7ebdc8d86b0f3dbd00a459765bc1f1d876e0.tar.gz mv-340e7ebdc8d86b0f3dbd00a459765bc1f1d876e0.tar.bz2 mv-340e7ebdc8d86b0f3dbd00a459765bc1f1d876e0.tar.xz mv-340e7ebdc8d86b0f3dbd00a459765bc1f1d876e0.zip |
Add comment about virtual method call in particlecontainer destructor.
Diffstat (limited to 'src/particle')
-rw-r--r-- | src/particle/particlecontainer.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/particle/particlecontainer.cpp b/src/particle/particlecontainer.cpp index 1695d55f2..ddebcef7b 100644 --- a/src/particle/particlecontainer.cpp +++ b/src/particle/particlecontainer.cpp @@ -37,6 +37,7 @@ ParticleContainer::ParticleContainer(ParticleContainer *const parent, ParticleContainer::~ParticleContainer() { + // +++ call virtul method in destructor clearLocally(); if (mDelParent) { |