]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
win32 compilation of the Mesh module.
authorrnv <rnv@opencascade.com>
Wed, 1 Feb 2012 12:31:41 +0000 (12:31 +0000)
committerrnv <rnv@opencascade.com>
Wed, 1 Feb 2012 12:31:41 +0000 (12:31 +0000)
src/SMESHUtils/SMESH_TypeDefs.hxx
src/StdMeshers/StdMeshers_ProjectionUtils.cxx

index 07b95e389e649e327395609003ee0627332402c2..63ecd6bffc6633139eb640f5a42af2fdc1d95bb5 100644 (file)
@@ -36,6 +36,7 @@
 #include <map>
 #include <list>
 #include <set>
+#include <cassert>
 
 typedef std::map<const SMDS_MeshElement*,
                  std::list<const SMDS_MeshElement*> >        TElemOfElemListMap;
index 62b889bf82bc74a4500aad149f465be930f4aded..bc497c74bd4268cdf820f921b0cc609e0bc9972f 100644 (file)
@@ -2062,7 +2062,7 @@ TopoDS_Edge StdMeshers_ProjectionUtils::GetBoundaryEdge(const TopoDS_Shape& edge
       PShapeIteratorPtr faceIt = SMESH_MesherHelper::GetAncestors( edge, mesh, TopAbs_FACE );
       while ( const TopoDS_Shape* face = faceIt->next() )
         if ( facesOfEdgeContainer.Contains( *face ))
-          if ( facesNearEdge.Add( *face ) and facesNearEdge.Extent() > 1 )
+          if ( facesNearEdge.Add( *face ) && facesNearEdge.Extent() > 1 )
             break;
       if ( facesNearEdge.Extent() == 1 )
         return edge;