From 3499bb308082efe6eb40d065a2d72eef04e40f27 Mon Sep 17 00:00:00 2001 From: eap Date: Tue, 7 Mar 2006 10:50:04 +0000 Subject: [PATCH] bug 11812. Fix Init() --- src/SMESH/SMESH_HypoFilter.cxx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/SMESH/SMESH_HypoFilter.cxx b/src/SMESH/SMESH_HypoFilter.cxx index 3482b1d57..2e4469fb4 100644 --- a/src/SMESH/SMESH_HypoFilter.cxx +++ b/src/SMESH/SMESH_HypoFilter.cxx @@ -309,6 +309,7 @@ SMESH_HypoFilter & SMESH_HypoFilter::Init ( SMESH_HypoPredicate* aPredicate, bo list::const_iterator pred = myPredicates.begin(); for ( ; pred != myPredicates.end(); ++pred ) delete *pred; + myPredicates.clear(); add( notNagate ? AND : AND_NOT, aPredicate ); return *this; -- 2.39.2