]> SALOME platform Git repositories - tools/medcoupling.git/commitdiff
Salome HOME
gcc 3.4 (RHEL 4) compatibility
authorvsr <vsr@opencascade.com>
Tue, 20 Nov 2012 08:14:36 +0000 (08:14 +0000)
committervsr <vsr@opencascade.com>
Tue, 20 Nov 2012 08:14:36 +0000 (08:14 +0000)
src/MEDLoader/MEDFileMesh.cxx

index 6f77ac21770c9d32dba7126cf8ad001dfb18952c..89620ee73e95f8c1a6cc2d0fc8e8153f0fbb0776 100644 (file)
@@ -2132,7 +2132,7 @@ bool MEDFileUMesh::unPolyze(std::vector<int>& oldCode, std::vector<int>& newCode
   std::vector< MEDCouplingAutoRefCountObjectPtr<DataArrayInt> > memorySaverIfThrow;//same than renumCellsSplited only in case of throw
   int start=0;
   int end=0;
-  for(std::vector<int>::const_reverse_iterator it=levs.rbegin();it!=levs.rend();it++)
+  for(std::vector<int>::reverse_iterator it=levs.rbegin();it!=levs.rend();it++)
     {
       MEDCouplingAutoRefCountObjectPtr<MEDCouplingUMesh> m=getMeshAtLevel(*it);
       std::vector<int> code1=m->getDistributionOfTypes();