]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Fix for Linux compilation.
authormpv <mpv@opencascade.com>
Fri, 23 Sep 2016 07:49:59 +0000 (10:49 +0300)
committermpv <mpv@opencascade.com>
Fri, 23 Sep 2016 07:49:59 +0000 (10:49 +0300)
src/Model/Model_Update.cpp

index bb00695b2f8fe2b726a2ab875535d059871d1e20..a2f58ef2b3775d46b5bdb73d669398d595a8393a 100755 (executable)
@@ -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<Events_Message> aMsg(new Events_Message(anID, this));
     Events_Loop::loop()->send(aMsg);
   }