diff options
| author | Gordon Sim <gsim@apache.org> | 2012-08-16 13:41:39 +0000 |
|---|---|---|
| committer | Gordon Sim <gsim@apache.org> | 2012-08-16 13:41:39 +0000 |
| commit | 0ecd212390cfe121dd6452c4c2ba2ea9a23c9102 (patch) | |
| tree | ece046623f67e676894494db19dd9724a488664f /cpp/src/qpid/broker/QueueRegistry.cpp | |
| parent | 323ec5ff6f5d07e1fcdfe2cbcbdc9434d3e4878c (diff) | |
| download | qpid-python-0ecd212390cfe121dd6452c4c2ba2ea9a23c9102.tar.gz | |
QPID-4234: ensure configuration observers see queue deletion
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1373831 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/broker/QueueRegistry.cpp')
| -rw-r--r-- | cpp/src/qpid/broker/QueueRegistry.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/qpid/broker/QueueRegistry.cpp b/cpp/src/qpid/broker/QueueRegistry.cpp index 5a30cd2e34..3521e08325 100644 --- a/cpp/src/qpid/broker/QueueRegistry.cpp +++ b/cpp/src/qpid/broker/QueueRegistry.cpp @@ -77,7 +77,7 @@ void QueueRegistry::destroy(const string& name) { qpid::sys::RWlock::ScopedWlock locker(lock); QueueMap::iterator i = queues.find(name); if (i != queues.end()) { - Queue::shared_ptr q = i->second; + q = i->second; queues.erase(i); } } |
