diff options
| author | Gordon Sim <gsim@apache.org> | 2007-10-18 08:28:37 +0000 |
|---|---|---|
| committer | Gordon Sim <gsim@apache.org> | 2007-10-18 08:28:37 +0000 |
| commit | 211dc088a6fc0b96f4f7e71813a117e5a5ae0caa (patch) | |
| tree | 1a6ce4647a4f5618ed1ab3e479a5b54d2ce7b7ea /cpp/src/qpid/broker/Queue.cpp | |
| parent | af0b219374ba8257dbc47f907cba2c19c4004b53 (diff) | |
| download | qpid-python-211dc088a6fc0b96f4f7e71813a117e5a5ae0caa.tar.gz | |
Fix for QPID-644
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@585899 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/broker/Queue.cpp')
| -rw-r--r-- | cpp/src/qpid/broker/Queue.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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 |
