Salome HOME
This commit was generated by cvs2git to create tag 'T2_2_5a'.
[modules/smesh.git] / src / SMESH / SMESH_HypoFilter.hxx
index c6cab854e972696783a3ce557f77e75762dca845..673b9fe2a988f8fa638420f88f7008b49e997dde 100644 (file)
 
 #include <list>
 #include <string>
-#include <TopoDS_Shape.hxx>
 
 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 {
-    TopoDS_Shape _mainShape;
+    const TopoDS_Shape& _mainShape;
     IsGlobalPredicate( const TopoDS_Shape& mainShape ):_mainShape(mainShape){}
     bool IsOk(const SMESH_Hypothesis* aHyp,
               const TopoDS_Shape&     aShape) const;