summaryrefslogtreecommitdiff
path: root/cpp/src
diff options
context:
space:
mode:
authorGordon Sim <gsim@apache.org>2012-08-16 13:41:39 +0000
committerGordon Sim <gsim@apache.org>2012-08-16 13:41:39 +0000
commit16777004de3b5b9b12d712e6a8ef7ff5f1d2fc42 (patch)
treeece046623f67e676894494db19dd9724a488664f /cpp/src
parentd58744e6fbd4804dd494218dfa6c0f113c3d0dd2 (diff)
downloadqpid-python-16777004de3b5b9b12d712e6a8ef7ff5f1d2fc42.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')
-rw-r--r--cpp/src/qpid/broker/QueueRegistry.cpp2
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);
}
}