From 6f48b4469e6593774a77a3990d3ddee11d6085ee Mon Sep 17 00:00:00 2001 From: Guenter Obiltschnig Date: Fri, 24 May 2013 20:05:25 +0200 Subject: [PATCH] fixed GH# 194: MessageNotification constructor is inefficient. --- Foundation/src/AsyncChannel.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Foundation/src/AsyncChannel.cpp b/Foundation/src/AsyncChannel.cpp index bb61ad08c..398145c13 100644 --- a/Foundation/src/AsyncChannel.cpp +++ b/Foundation/src/AsyncChannel.cpp @@ -49,9 +49,9 @@ namespace Poco { class MessageNotification: public Notification { public: - MessageNotification(const Message& msg) + MessageNotification(const Message& msg): + _msg(msg) { - _msg = msg; } ~MessageNotification()