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;