]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Fix for issue #79
authormpv <mikhail.ponikarov@opencascade.com>
Mon, 15 Sep 2014 09:24:31 +0000 (13:24 +0400)
committermpv <mikhail.ponikarov@opencascade.com>
Mon, 15 Sep 2014 09:24:31 +0000 (13:24 +0400)
src/Events/Events_Loop.cpp

index 04d94b0889335ae474333826d3a32f240f4131ae..95e9ea6a9b2fcb350d7e252783475f873debdb61 100644 (file)
@@ -50,9 +50,9 @@ void Events_Loop::send(const boost::shared_ptr<Events_Message>& theMessage, bool
         myGroups[aGroup->eventID().eventText()] = aGroup->newEmpty();
         aMyGroup = myGroups.find(aGroup->eventID().eventText());
       }
-      boost::shared_ptr<Events_MessageGroup> aNewOne =
+      boost::shared_ptr<Events_MessageGroup> aStored =
         boost::dynamic_pointer_cast<Events_MessageGroup>(aMyGroup->second);
-      aGroup->Join(aNewOne);
+      aStored->Join(aGroup);
       return;
     }
   }