From: jfa Date: Thu, 7 Jul 2022 09:00:47 +0000 (+0300) Subject: Small fix for compilation X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=e5c1402a682bcfad0223af49fd7cbe7617ee51fd;p=modules%2Fgeom.git Small fix for compilation --- diff --git a/src/GEOMAlgo/GEOMAlgo_AlgoTools.cxx b/src/GEOMAlgo/GEOMAlgo_AlgoTools.cxx index 9b0293224..9eada6310 100644 --- a/src/GEOMAlgo/GEOMAlgo_AlgoTools.cxx +++ b/src/GEOMAlgo/GEOMAlgo_AlgoTools.cxx @@ -104,6 +104,7 @@ #include +#include static void GetCount(const TopoDS_Shape& aS, @@ -1080,7 +1081,7 @@ Standard_Integer GEOMAlgo_AlgoTools::PointCloudInFace(const TopoDS_Face& theFace if (aNbFaces != theNbPnts) { Standard_Real aTotalArea = 0.; - std::vector> aFacesAndAreas (aNbFaces); + std::vector > aFacesAndAreas (aNbFaces); for (Standard_Integer ii = 1; ii <= aNbFaces; ii++) { GProp_GProps aProps; @@ -1174,7 +1175,6 @@ Standard_Integer GEOMAlgo_AlgoTools::PointCloudInFace(const TopoDS_Face& theFace aBB.Add (aGlobalRes, res); aBB.MakeCompound (theCompound); - Standard_Integer anIndPoint = 0; for (TopExp_Explorer aGlobalExplo(aGlobalRes, TopAbs_FACE); aGlobalExplo.More(); aGlobalExplo.Next()) { const TopoDS_Face& aFace = TopoDS::Face (aGlobalExplo.Current());