From: mpv Date: Mon, 15 Sep 2014 09:24:31 +0000 (+0400) Subject: Fix for issue #79 X-Git-Tag: V_0.4.4~50 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=2ab65092b9bc44e5d3695be44afe2455f15345f6;p=modules%2Fshaper.git Fix for issue #79 --- diff --git a/src/Events/Events_Loop.cpp b/src/Events/Events_Loop.cpp index 04d94b088..95e9ea6a9 100644 --- a/src/Events/Events_Loop.cpp +++ b/src/Events/Events_Loop.cpp @@ -50,9 +50,9 @@ void Events_Loop::send(const boost::shared_ptr& theMessage, bool myGroups[aGroup->eventID().eventText()] = aGroup->newEmpty(); aMyGroup = myGroups.find(aGroup->eventID().eventText()); } - boost::shared_ptr aNewOne = + boost::shared_ptr aStored = boost::dynamic_pointer_cast(aMyGroup->second); - aGroup->Join(aNewOne); + aStored->Join(aGroup); return; } }