From: srit Date: Mon, 28 Mar 2011 13:19:00 +0000 (+0000) Subject: Useless to clear in destructor X-Git-Tag: v1.2.0~98 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=58f3178d52d0c1762a566b375354816e0cc4bb26;p=clitk.git Useless to clear in destructor --- diff --git a/vv/vvBinaryImageOverlayActor.cxx b/vv/vvBinaryImageOverlayActor.cxx index 128b19b..ca0a6b2 100644 --- a/vv/vvBinaryImageOverlayActor.cxx +++ b/vv/vvBinaryImageOverlayActor.cxx @@ -52,8 +52,6 @@ vvBinaryImageOverlayActor::~vvBinaryImageOverlayActor() for (unsigned int i = 0; i < mSlicer->GetImage()->GetVTKImages().size(); i++) { mSlicer->GetRenderer()->RemoveActor(mImageActorList[i]); } - mMapperList.clear(); - mImageActorList.clear(); } //------------------------------------------------------------------------------