summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/cluster/ClusterMap.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/qpid/cluster/ClusterMap.cpp')
-rw-r--r--cpp/src/qpid/cluster/ClusterMap.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/cpp/src/qpid/cluster/ClusterMap.cpp b/cpp/src/qpid/cluster/ClusterMap.cpp
index 0395ff6382..e8c421d4eb 100644
--- a/cpp/src/qpid/cluster/ClusterMap.cpp
+++ b/cpp/src/qpid/cluster/ClusterMap.cpp
@@ -158,8 +158,6 @@ bool ClusterMap::ready(const MemberId& id, const Url& url) {
bool ClusterMap::configChange(const std::string& addresses) {
bool memberChange = false;
Set update = decode(addresses);
- for (std::string::const_iterator i = addresses.begin(); i < addresses.end(); i += 8)
- update.insert(MemberId(std::string(i, i+8)));
Set removed;
std::set_difference(alive.begin(), alive.end(),
update.begin(), update.end(),