From: mpv Date: Fri, 23 Sep 2016 07:49:59 +0000 (+0300) Subject: Fix for Linux compilation. X-Git-Tag: V_2.5.1~8 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=c57dc861f50a91c982066c53f2cd2945dc7a52c7;p=modules%2Fshaper.git Fix for Linux compilation. --- diff --git a/src/Model/Model_Update.cpp b/src/Model/Model_Update.cpp index bb00695b2..a2f58ef2b 100755 --- a/src/Model/Model_Update.cpp +++ b/src/Model/Model_Update.cpp @@ -462,7 +462,7 @@ bool Model_Update::processFeature(FeaturePtr theFeature) } updateArguments(theFeature); // send event that sketch is prepared to be recomputed - static Events_ID& anID = Events_Loop::eventByName("SketchPrepared"); + static Events_ID anID = Events_Loop::eventByName("SketchPrepared"); std::shared_ptr aMsg(new Events_Message(anID, this)); Events_Loop::loop()->send(aMsg); }