summaryrefslogtreecommitdiff
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
parent2033ce76a8fba2148bc034d16e1d226bc757c47f (diff)
downloadplus-340e7ebdc8d86b0f3dbd00a459765bc1f1d876e0.tar.gz
plus-340e7ebdc8d86b0f3dbd00a459765bc1f1d876e0.tar.bz2
plus-340e7ebdc8d86b0f3dbd00a459765bc1f1d876e0.tar.xz
plus-340e7ebdc8d86b0f3dbd00a459765bc1f1d876e0.zip
Add comment about virtual method call in particlecontainer destructor.
-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)
{