summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/broker/Queue.cpp
diff options
context:
space:
mode:
authorGordon Sim <gsim@apache.org>2006-11-16 14:43:29 +0000
committerGordon Sim <gsim@apache.org>2006-11-16 14:43:29 +0000
commitd965a29414762f0b3bbc840485f6327c3d523946 (patch)
treef02b8ef08ca5dceba1b8f1dd093555ee4d34ac2e /cpp/src/qpid/broker/Queue.cpp
parent0687c0569835a967678cb23622db00faa3b18938 (diff)
downloadqpid-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.cpp8
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);
}
}