From: abn Date: Fri, 22 Sep 2017 10:15:37 +0000 (+0200) Subject: Minor portability for old compilers. X-Git-Tag: V9_0_0~54 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=d8013fec82836552420a4bbe49d6af3409686831;p=tools%2Fmedcoupling.git Minor portability for old compilers. --- 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])