summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/sys/Serializer.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/qpid/sys/Serializer.h')
-rw-r--r--cpp/src/qpid/sys/Serializer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/qpid/sys/Serializer.h b/cpp/src/qpid/sys/Serializer.h
index eba8e48555..337686cca0 100644
--- a/cpp/src/qpid/sys/Serializer.h
+++ b/cpp/src/qpid/sys/Serializer.h
@@ -66,7 +66,7 @@ class Serializer : private boost::noncopyable, private Runnable
* paramater to the constructor was true. Otherwise task will be
* enqueued for execution by a dispatch thread.
*/
- void execute(Task task);
+ void execute(Task& task);
/** Execute pending tasks sequentially in calling thread.
* Drains the task queue and returns, does not block for more tasks.