diff options
| author | Gordon Sim <gsim@apache.org> | 2006-11-16 14:43:29 +0000 |
|---|---|---|
| committer | Gordon Sim <gsim@apache.org> | 2006-11-16 14:43:29 +0000 |
| commit | d965a29414762f0b3bbc840485f6327c3d523946 (patch) | |
| tree | f02b8ef08ca5dceba1b8f1dd093555ee4d34ac2e /cpp/src/qpid/broker/Queue.cpp | |
| parent | 0687c0569835a967678cb23622db00faa3b18938 (diff) | |
| download | qpid-python-d965a29414762f0b3bbc840485f6327c3d523946.tar.gz | |
Minor modifications for recovery and debug.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@475753 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/broker/Queue.cpp')
| -rw-r--r-- | cpp/src/qpid/broker/Queue.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cpp/src/qpid/broker/Queue.cpp b/cpp/src/qpid/broker/Queue.cpp index 29a7e3a6c8..1150d055cb 100644 --- a/cpp/src/qpid/broker/Queue.cpp +++ b/cpp/src/qpid/broker/Queue.cpp @@ -175,28 +175,28 @@ bool Queue::canAutoDelete() const{ void Queue::enqueue(TransactionContext* ctxt, Message::shared_ptr& msg, const string * const xid) { - if(msg->isPersistent() && store){ + if (msg->isPersistent() && store) { store->enqueue(ctxt, msg, *this, xid); } } void Queue::dequeue(TransactionContext* ctxt, Message::shared_ptr& msg, const string * const xid) { - if(msg->isPersistent() && store){ + if (msg->isPersistent() && store) { store->dequeue(ctxt, msg, *this, xid); } } void Queue::create() { - if(store){ + if (store) { store->create(*this); } } void Queue::destroy() { - if(store){ + if (store) { store->destroy(*this); } } |
