From: eap Date: Wed, 7 Sep 2005 08:11:02 +0000 (+0000) Subject: PAL9874. Fix error in SMESH_HypoFilter::IsGlobalPredicate X-Git-Tag: T2_2_5a~2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=8999d48ca9c65c3442b898302705d0cf5d6c11b3;p=modules%2Fsmesh.git PAL9874. Fix error in SMESH_HypoFilter::IsGlobalPredicate --- diff --git a/src/SMESH/SMESH_HypoFilter.hxx b/src/SMESH/SMESH_HypoFilter.hxx index 673b9fe2a..c6cab854e 100644 --- a/src/SMESH/SMESH_HypoFilter.hxx +++ b/src/SMESH/SMESH_HypoFilter.hxx @@ -35,10 +35,10 @@ #include #include +#include class SMESH_HypoFilter; class SMESH_Hypothesis; -class TopoDS_Shape; class SMESH_HypoPredicate { public: @@ -151,7 +151,7 @@ class SMESH_HypoFilter: public SMESH_HypoPredicate }; struct IsGlobalPredicate : public SMESH_HypoPredicate { - const TopoDS_Shape& _mainShape; + TopoDS_Shape _mainShape; IsGlobalPredicate( const TopoDS_Shape& mainShape ):_mainShape(mainShape){} bool IsOk(const SMESH_Hypothesis* aHyp, const TopoDS_Shape& aShape) const;