mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-27 11:06:50 +01:00
fixed GH# 194: MessageNotification constructor is inefficient.
This commit is contained in:
@@ -49,9 +49,9 @@ namespace Poco {
|
|||||||
class MessageNotification: public Notification
|
class MessageNotification: public Notification
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
MessageNotification(const Message& msg)
|
MessageNotification(const Message& msg):
|
||||||
|
_msg(msg)
|
||||||
{
|
{
|
||||||
_msg = msg;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
~MessageNotification()
|
~MessageNotification()
|
||||||
|
|||||||
Reference in New Issue
Block a user