Salome HOME
refs #80 - Sketch base GUI: create/draw point, circle and arc
[modules/shaper.git] / src / Events / Events_Error.cpp
index eba313e5f1a9a42ad1b090e8c52d9a45e90e2c74..ff3fd58e82ee0c7fad634b73c4ed86a8445bb5a2 100644 (file)
@@ -35,7 +35,7 @@ void Events_Error::send(char* theDescription, const void* theSender)
   Events_Loop::loop()->send(anError);
 }
 
-static void send(std::string theDescription, const void* theSender = 0)
+void Events_Error::send(std::string theDescription, const void* theSender)
 {
-  Events_Error::send(theDescription.c_str(), theSender);
+  Events_Error::send((char*)theDescription.c_str(), theSender);
 }