From: nds Date: Thu, 14 Dec 2017 13:48:12 +0000 (+0300) Subject: Compilation correction on linux X-Git-Tag: V_2.10.0RC~29 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=e843e113237582af69814dfc09bb8f19e980c12b;p=modules%2Fshaper.git Compilation correction on linux --- diff --git a/src/XGUI/XGUI_FacesPanel.cpp b/src/XGUI/XGUI_FacesPanel.cpp index c3ab2ec0b..a5deb6d14 100644 --- a/src/XGUI/XGUI_FacesPanel.cpp +++ b/src/XGUI/XGUI_FacesPanel.cpp @@ -240,8 +240,8 @@ void XGUI_FacesPanel::processSelection() anObjectToPrs[anObject] = aResultPrs; } } - for (std::map >::const_iterator anIt = anObjectToShapes.begin(); - anIt != anObjectToShapes.end(); anIt++) { + for (std::map >::const_iterator + anIt = anObjectToShapes.begin(); anIt != anObjectToShapes.end(); anIt++) { ObjectPtr anObject = anIt->first; if (!anObject.get() || anObjectToPrs.find(anObject) == anObjectToPrs.end()) continue; @@ -383,8 +383,8 @@ bool XGUI_FacesPanel::hideEmptyObjects() anObjectToPrs[anObject] = aResultPrs; } } - for (std::map >::const_iterator anIt = anObjectToShapes.begin(); - anIt != anObjectToShapes.end(); anIt++) { + for (std::map >::const_iterator + anIt = anObjectToShapes.begin(); anIt != anObjectToShapes.end(); anIt++) { ObjectPtr anObject = anIt->first; if (!anObject.get() || anObjectToPrs.find(anObject) == anObjectToPrs.end()) continue;