From 340e7ebdc8d86b0f3dbd00a459765bc1f1d876e0 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 18 Oct 2013 18:45:20 +0300 Subject: Add comment about virtual method call in particlecontainer destructor. --- src/particle/particlecontainer.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/particle') 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) { -- cgit v1.2.3-70-g09d2