diff options
| author | Kim van der Riet <kpvdr@apache.org> | 2012-07-20 12:55:20 +0000 |
|---|---|---|
| committer | Kim van der Riet <kpvdr@apache.org> | 2012-07-20 12:55:20 +0000 |
| commit | 2e437e1569009d8e8ed3ed896d751994e2e85d74 (patch) | |
| tree | 28459e48638bfcd3a7e565c37165b3fab714d484 /cpp/src/qpid/asyncStore/OperationQueue.cpp | |
| parent | c94c9b5333c06c03deb6a6dcb1a91ecdf111b481 (diff) | |
| download | qpid-python-2e437e1569009d8e8ed3ed896d751994e2e85d74.tar.gz | |
QPID-3858: WIP: Created many async operation classes for each op instead of a single class with op codes.
git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/asyncstore@1363759 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/asyncStore/OperationQueue.cpp')
| -rw-r--r-- | cpp/src/qpid/asyncStore/OperationQueue.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/qpid/asyncStore/OperationQueue.cpp b/cpp/src/qpid/asyncStore/OperationQueue.cpp index dd4e7c1343..b7b8970c39 100644 --- a/cpp/src/qpid/asyncStore/OperationQueue.cpp +++ b/cpp/src/qpid/asyncStore/OperationQueue.cpp @@ -54,7 +54,7 @@ OperationQueue::handle(const OperationQueue::OpQueue::Batch& e) try { for (OpQueue::Batch::const_iterator i = e.begin(); i != e.end(); ++i) { boost::shared_ptr<qpid::broker::BrokerAsyncContext> bc = (*i)->getBrokerContext(); - if (bc) { + if (bc.get()) { qpid::broker::AsyncResultQueue* const arq = bc->getAsyncResultQueue(); if (arq) { qpid::broker::AsyncResultHandleImpl* arhi = new qpid::broker::AsyncResultHandleImpl(bc); |
