From 24df7fa1abf1fb224675fb6d640c01a862600c12 Mon Sep 17 00:00:00 2001 From: rnv Date: Wed, 1 Feb 2012 12:31:41 +0000 Subject: [PATCH] win32 compilation of the Mesh module. --- src/SMESHUtils/SMESH_TypeDefs.hxx | 1 + src/StdMeshers/StdMeshers_ProjectionUtils.cxx | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/SMESHUtils/SMESH_TypeDefs.hxx b/src/SMESHUtils/SMESH_TypeDefs.hxx index 07b95e389..63ecd6bff 100644 --- a/src/SMESHUtils/SMESH_TypeDefs.hxx +++ b/src/SMESHUtils/SMESH_TypeDefs.hxx @@ -36,6 +36,7 @@ #include #include #include +#include typedef std::map > TElemOfElemListMap; diff --git a/src/StdMeshers/StdMeshers_ProjectionUtils.cxx b/src/StdMeshers/StdMeshers_ProjectionUtils.cxx index 62b889bf8..bc497c74b 100644 --- a/src/StdMeshers/StdMeshers_ProjectionUtils.cxx +++ b/src/StdMeshers/StdMeshers_ProjectionUtils.cxx @@ -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; -- 2.39.2