From: nge Date: Mon, 28 Sep 2009 19:57:53 +0000 (+0000) Subject: Fix Compilation issue with gcc 4.3.4 and higher. X-Git-Tag: V5_1_main_20091008~8 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=b5991cddb6420b794d8609d75f2eafe24a5d74d6;p=modules%2Fvisu.git Fix Compilation issue with gcc 4.3.4 and higher. --- diff --git a/src/CONVERTOR/VISU_Structures_impl.cxx b/src/CONVERTOR/VISU_Structures_impl.cxx index eb797c47..25779529 100644 --- a/src/CONVERTOR/VISU_Structures_impl.cxx +++ b/src/CONVERTOR/VISU_Structures_impl.cxx @@ -1571,7 +1571,7 @@ namespace VISU int aNbGauss = 1; TGeom2NbGauss::const_iterator anIter = myGeom2NbGauss.begin(); for(; anIter != myGeom2NbGauss.end(); anIter++){ - aNbGauss = std::max(aNbGauss, anIter->second); + aNbGauss = std::max(aNbGauss, anIter->second); } return aNbGauss; }