From: mpv Date: Fri, 14 Nov 2014 10:37:57 +0000 (+0300) Subject: Fix for creation of edges in sketch on Squeese: Events_MessageGroup had different... X-Git-Tag: V_0.5.2~6 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=294640ac53df9e1fc697b007aca1e00259b5049a;p=modules%2Fshaper.git Fix for creation of edges in sketch on Squeese: Events_MessageGroup had different instances in Events library and Model plugin. Reproduced only on Debian Squeeze. --- diff --git a/src/Events/CMakeLists.txt b/src/Events/CMakeLists.txt index b33e85166..52369991c 100644 --- a/src/Events/CMakeLists.txt +++ b/src/Events/CMakeLists.txt @@ -12,6 +12,7 @@ SET(PROJECT_HEADERS SET(PROJECT_SOURCES Events_Message.cpp + Events_MessageGroup.cpp Events_Listener.cpp Events_Loop.cpp Events_Error.cpp diff --git a/src/Events/Events_MessageGroup.cpp b/src/Events/Events_MessageGroup.cpp new file mode 100644 index 000000000..799f71e69 --- /dev/null +++ b/src/Events/Events_MessageGroup.cpp @@ -0,0 +1,13 @@ +// File: Events_MessageGroup.cpp +// Created: Thu Mar 13 2014 +// Author: Mikhail PONIKAROV + +#include + +Events_MessageGroup::Events_MessageGroup(const Events_ID theID, const void* theSender) +: Events_Message(theID, theSender) +{} + +Events_MessageGroup::~Events_MessageGroup() +{} + diff --git a/src/Events/Events_MessageGroup.h b/src/Events/Events_MessageGroup.h index 46c765cce..b41d4ffcb 100644 --- a/src/Events/Events_MessageGroup.h +++ b/src/Events/Events_MessageGroup.h @@ -21,14 +21,9 @@ class EVENTS_EXPORT Events_MessageGroup : public Events_Message public: //! Creates the message - Events_MessageGroup(const Events_ID theID, const void* theSender = 0) - : Events_Message(theID, theSender) - { - } + Events_MessageGroup(const Events_ID theID, const void* theSender = 0); //! do nothing in the destructor yet - virtual ~Events_MessageGroup() - { - } + virtual ~Events_MessageGroup(); //! Creates a new empty group (to store it in the loop before flush) virtual boost::shared_ptr newEmpty() = 0;