]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Issue 1303 Re-ordering of Sketcher menus:compilation correction on Linux
authornds <nds@opencascade.com>
Wed, 13 Apr 2016 13:53:10 +0000 (16:53 +0300)
committernds <nds@opencascade.com>
Wed, 13 Apr 2016 13:55:23 +0000 (16:55 +0300)
src/XGUI/XGUI_MenuWorkbench.cpp

index 8107893fc21877e6fb71b4cac8c140c1674166c7..8319bef0e27cc104256222a8f4b12b29f158ddd8 100755 (executable)
@@ -17,7 +17,7 @@ std::shared_ptr<XGUI_MenuGroup> XGUI_MenuWorkbench::findGroup(const std::string&
 {
   std::list< std::shared_ptr<XGUI_MenuGroup> >::const_iterator anIt = myGroups.begin(),
                                                               aLast = myGroups.end();
-  std::shared_ptr<XGUI_MenuGroup> aResultGroup = 0;
+  std::shared_ptr<XGUI_MenuGroup> aResultGroup;
   for (; anIt != aLast && !aResultGroup; anIt++) {
     std::shared_ptr<XGUI_MenuGroup> aGroup = *anIt;
     if (aGroup->getName() == theGroupName)