From 8999d48ca9c65c3442b898302705d0cf5d6c11b3 Mon Sep 17 00:00:00 2001 From: eap Date: Wed, 7 Sep 2005 08:11:02 +0000 Subject: [PATCH] PAL9874. Fix error in SMESH_HypoFilter::IsGlobalPredicate --- src/SMESH/SMESH_HypoFilter.hxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; -- 2.39.2