From 2290d4ed915f1202bcd6cd50b1a85f27f3eb6cd2 Mon Sep 17 00:00:00 2001 From: Andrew Stitcher Date: Thu, 2 Aug 2007 16:41:06 +0000 Subject: * Changed Broker queue processing to avoid unnecessary uses of boost::bind * Changed Serializer::execute to take Tasks by reference to avoid overhead of copying git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@562179 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/qpid/sys/Serializer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpp/src/qpid/sys/Serializer.cpp') diff --git a/cpp/src/qpid/sys/Serializer.cpp b/cpp/src/qpid/sys/Serializer.cpp index db2b3cab6d..cdc8b91694 100644 --- a/cpp/src/qpid/sys/Serializer.cpp +++ b/cpp/src/qpid/sys/Serializer.cpp @@ -64,7 +64,7 @@ void Serializer::dispatch(Task& task) { } } -void Serializer::execute(Task task) { +void Serializer::execute(Task& task) { bool needNotify = false; { Mutex::ScopedLock l(lock); -- cgit v1.2.1