From: nds Date: Wed, 13 Apr 2016 13:53:10 +0000 (+0300) Subject: Issue 1303 Re-ordering of Sketcher menus:compilation correction on Linux X-Git-Tag: V_2.3.0~231 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=e963f272c61c675997788a0e3b8b41490b2133ab;p=modules%2Fshaper.git Issue 1303 Re-ordering of Sketcher menus:compilation correction on Linux --- diff --git a/src/XGUI/XGUI_MenuWorkbench.cpp b/src/XGUI/XGUI_MenuWorkbench.cpp index 8107893fc..8319bef0e 100755 --- a/src/XGUI/XGUI_MenuWorkbench.cpp +++ b/src/XGUI/XGUI_MenuWorkbench.cpp @@ -17,7 +17,7 @@ std::shared_ptr XGUI_MenuWorkbench::findGroup(const std::string& { std::list< std::shared_ptr >::const_iterator anIt = myGroups.begin(), aLast = myGroups.end(); - std::shared_ptr aResultGroup = 0; + std::shared_ptr aResultGroup; for (; anIt != aLast && !aResultGroup; anIt++) { std::shared_ptr aGroup = *anIt; if (aGroup->getName() == theGroupName)