From 19b0cc184a55aa54b53f6ab9d67cefaf76ca83f9 Mon Sep 17 00:00:00 2001 From: vsr Date: Tue, 20 Nov 2012 08:14:36 +0000 Subject: [PATCH] gcc 3.4 (RHEL 4) compatibility --- src/MEDLoader/MEDFileMesh.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- 2.39.2