From d8013fec82836552420a4bbe49d6af3409686831 Mon Sep 17 00:00:00 2001 From: abn Date: Fri, 22 Sep 2017 12:15:37 +0200 Subject: [PATCH] Minor portability for old compilers. --- src/MEDCoupling/MEDCouplingUMesh_intersection.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/MEDCoupling/MEDCouplingUMesh_intersection.cxx b/src/MEDCoupling/MEDCouplingUMesh_intersection.cxx index 85db74fae..629ae62b3 100644 --- a/src/MEDCoupling/MEDCouplingUMesh_intersection.cxx +++ b/src/MEDCoupling/MEDCouplingUMesh_intersection.cxx @@ -2166,7 +2166,7 @@ DataArrayInt *MEDCouplingUMesh::conformize3D(double eps) fill(hit.begin(), hit.end(), false); vector hitPoly; // the final result: which 3D cells have been modified. - for( vector>::const_iterator it = S.begin(); it != S.end(); it++) + for( vector >::const_iterator it = S.begin(); it != S.end(); it++) { int faceIdx = (*it).second; if (hit[faceIdx]) continue; @@ -2322,7 +2322,7 @@ DataArrayInt *MEDCouplingUMesh::conformize3D(double eps) DataArrayDouble * lens = lenF->getArray(); // Sort edges by decreasing length: - vector> S; + vector > S; for(std::size_t i=0;i < lens->getNumberOfTuples();i++) { pair p = make_pair(lens->getIJ(i, 0), i); @@ -2333,7 +2333,7 @@ DataArrayInt *MEDCouplingUMesh::conformize3D(double eps) vector hit(nDesc2Cell); fill(hit.begin(), hit.end(), false); - for( vector>::const_iterator it = S.begin(); it != S.end(); it++) + for( vector >::const_iterator it = S.begin(); it != S.end(); it++) { int eIdx = (*it).second; if (hit[eIdx]) -- 2.39.2