From 211dc088a6fc0b96f4f7e71813a117e5a5ae0caa Mon Sep 17 00:00:00 2001 From: Gordon Sim Date: Thu, 18 Oct 2007 08:28:37 +0000 Subject: Fix for QPID-644 git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@585899 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/qpid/broker/Queue.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cpp/src/qpid/broker/Queue.cpp') diff --git a/cpp/src/qpid/broker/Queue.cpp b/cpp/src/qpid/broker/Queue.cpp index 8c990795e7..1dad0e1864 100644 --- a/cpp/src/qpid/broker/Queue.cpp +++ b/cpp/src/qpid/broker/Queue.cpp @@ -318,7 +318,7 @@ bool Queue::canAutoDelete() const{ } // return true if store exists, -bool Queue::enqueue(TransactionContext* ctxt, Message::shared_ptr& msg) +bool Queue::enqueue(TransactionContext* ctxt, Message::shared_ptr msg) { if (msg->isPersistent() && store) { msg->enqueueAsync(); //increment to async counter -- for message sent to more than one queue @@ -329,7 +329,7 @@ bool Queue::enqueue(TransactionContext* ctxt, Message::shared_ptr& msg) } // return true if store exists, -bool Queue::dequeue(TransactionContext* ctxt, Message::shared_ptr& msg) +bool Queue::dequeue(TransactionContext* ctxt, Message::shared_ptr msg) { if (msg->isPersistent() && store) { msg->dequeueAsync(); //increment to async counter -- for message sent to more than one queue -- cgit v1.2.1