Salome HOME
Fix Compilation issue with gcc 4.3.4 and higher.
authornge <nge>
Mon, 28 Sep 2009 19:57:53 +0000 (19:57 +0000)
committernge <nge>
Mon, 28 Sep 2009 19:57:53 +0000 (19:57 +0000)
src/CONVERTOR/VISU_Structures_impl.cxx

index eb797c47790b2f77b8c96b02b7d4b0eb04510da4..25779529d065d4e226670c21f378188e7b45f8ac 100644 (file)
@@ -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<int>(aNbGauss, anIter->second);
     }
     return aNbGauss;
   }