From c57dc861f50a91c982066c53f2cd2945dc7a52c7 Mon Sep 17 00:00:00 2001 From: mpv Date: Fri, 23 Sep 2016 10:49:59 +0300 Subject: [PATCH] Fix for Linux compilation. --- src/Model/Model_Update.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- 2.39.2