From: vsr Date: Tue, 20 Nov 2012 08:14:36 +0000 (+0000) Subject: gcc 3.4 (RHEL 4) compatibility X-Git-Tag: V6_6_0~11 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=19b0cc184a55aa54b53f6ab9d67cefaf76ca83f9;p=tools%2Fmedcoupling.git gcc 3.4 (RHEL 4) compatibility --- diff --git a/src/MEDLoader/MEDFileMesh.cxx b/src/MEDLoader/MEDFileMesh.cxx index 6f77ac217..89620ee73 100644 --- a/src/MEDLoader/MEDFileMesh.cxx +++ b/src/MEDLoader/MEDFileMesh.cxx @@ -2132,7 +2132,7 @@ bool MEDFileUMesh::unPolyze(std::vector& oldCode, std::vector& newCode std::vector< MEDCouplingAutoRefCountObjectPtr > memorySaverIfThrow;//same than renumCellsSplited only in case of throw int start=0; int end=0; - for(std::vector::const_reverse_iterator it=levs.rbegin();it!=levs.rend();it++) + for(std::vector::reverse_iterator it=levs.rbegin();it!=levs.rend();it++) { MEDCouplingAutoRefCountObjectPtr m=getMeshAtLevel(*it); std::vector code1=m->getDistributionOfTypes();