summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/cluster/UpdateClient.h
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2011-02-01 21:25:43 +0000
committerAlan Conway <aconway@apache.org>2011-02-01 21:25:43 +0000
commita9cf9a1d43a0025a825176c263172834953c93c0 (patch)
tree40250d5d45b0d7ab9f9752dec8d8d112234c1f87 /cpp/src/qpid/cluster/UpdateClient.h
parent9e8968646d02c948cfcff2643d5303355bb5fda3 (diff)
downloadqpid-python-a9cf9a1d43a0025a825176c263172834953c93c0.tar.gz
QPID-3007: Don't hold on to consumer shared-pointers in UpdateClient::consumerNumbering
Holding shared pointers in UpdateClient::consumerNumbering can hold consumers in memory and delete them out of sync with other cluster members. Made it hold plain pointers instead since we don't actually need to ensure object liveness, we're just doing an address/number correspondence. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1066217 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/cluster/UpdateClient.h')
-rw-r--r--cpp/src/qpid/cluster/UpdateClient.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/qpid/cluster/UpdateClient.h b/cpp/src/qpid/cluster/UpdateClient.h
index 156fa112df..7520bb82cb 100644
--- a/cpp/src/qpid/cluster/UpdateClient.h
+++ b/cpp/src/qpid/cluster/UpdateClient.h
@@ -106,7 +106,7 @@ class UpdateClient : public sys::Runnable {
void updateBridge(const boost::shared_ptr<broker::Bridge>&);
- Numbering<broker::SemanticState::ConsumerImpl::shared_ptr> consumerNumbering;
+ Numbering<broker::SemanticState::ConsumerImpl*> consumerNumbering;
MemberId updaterId;
MemberId updateeId;
Url updateeUrl;