Salome HOME
This commit was generated by cvs2git to create tag 'T2_2_5a'. T2_2_5a
authoradmin <salome-admin@opencascade.com>
Wed, 7 Sep 2005 11:41:20 +0000 (11:41 +0000)
committeradmin <salome-admin@opencascade.com>
Wed, 7 Sep 2005 11:41:20 +0000 (11:41 +0000)
Sprout from V2_2_0_maintainance 2005-09-07 11:41:19 UTC smh <smh@opencascade.com> 'Put correct version for TUI documentation'
Cherrypick from V2_2_0_maintainance 2005-02-21 06:05:02 UTC admin <salome-admin@opencascade.com> 'This commit was generated by cvs2git to create branch 'V2_2_0_maintainance'.':
    src/SMESH/SMESH_HypoFilter.hxx

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;