]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
PAL9874. Fix error in SMESH_HypoFilter::IsGlobalPredicate
authoreap <eap@opencascade.com>
Wed, 7 Sep 2005 08:11:02 +0000 (08:11 +0000)
committereap <eap@opencascade.com>
Wed, 7 Sep 2005 08:11:02 +0000 (08:11 +0000)
src/SMESH/SMESH_HypoFilter.hxx

index 673b9fe2a988f8fa638420f88f7008b49e997dde..c6cab854e972696783a3ce557f77e75762dca845 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 {
-    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;