summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-10-18 18:45:20 +0300
committerAndrei Karas <akaras@inbox.ru>2013-10-19 15:12:21 +0300
commit340e7ebdc8d86b0f3dbd00a459765bc1f1d876e0 (patch)
tree64b931b3c217b96f175b826907b86e04becab0a9 /src
parent2033ce76a8fba2148bc034d16e1d226bc757c47f (diff)
downloadmv-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')
-rw-r--r--src/particle/particlecontainer.cpp1
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)
{