X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FEvents%2FEvents_Error.cpp;h=3ac990edb5893922ecb85a3cca24c1fe0276055c;hb=f40895b4d881810ef7d19c27ce6e952d72353d2c;hp=7fe307b6a9c16d08ec78f537494cabf6439c7343;hpb=cd9217d7e87997ec8bc150a6d8c389e742ca0f84;p=modules%2Fshaper.git diff --git a/src/Events/Events_Error.cpp b/src/Events/Events_Error.cpp index 7fe307b6a..3ac990edb 100644 --- a/src/Events/Events_Error.cpp +++ b/src/Events/Events_Error.cpp @@ -31,8 +31,9 @@ char* Events_Error::description() const void Events_Error::send(char* theDescription, const void* theSender) { - Events_Error anError(theDescription, theSender); - Events_Loop::loop()->send(anError); + boost::shared_ptr aNewOne = + boost::shared_ptr(new Events_Error(theDescription, theSender)); + Events_Loop::loop()->send(aNewOne); } void Events_Error::send(std::string theDescription, const void* theSender)