From 8b58b19ec3989b676cd5a1584089040caee14289 Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Tue, 17 Nov 2009 18:09:21 +0000 Subject: Integrated InitialStatusMap into cluster code. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@881423 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/qpid/cluster/ErrorCheck.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'cpp/src/qpid/cluster/ErrorCheck.cpp') diff --git a/cpp/src/qpid/cluster/ErrorCheck.cpp b/cpp/src/qpid/cluster/ErrorCheck.cpp index 5b7011047b..d66db8551d 100644 --- a/cpp/src/qpid/cluster/ErrorCheck.cpp +++ b/cpp/src/qpid/cluster/ErrorCheck.cpp @@ -39,11 +39,6 @@ ErrorCheck::ErrorCheck(Cluster& c) : cluster(c), mcast(c.getMulticast()), frameSeq(0), type(ERROR_TYPE_NONE), connection(0) {} -ostream& operator<<(ostream& o, const ErrorCheck::MemberSet& ms) { - copy(ms.begin(), ms.end(), ostream_iterator(o, " ")); - return o; -} - void ErrorCheck::error( Connection& c, ErrorType t, framing::SequenceNumber seq, const MemberSet& ms, const std::string& msg) @@ -115,7 +110,7 @@ ErrorCheck::FrameQueue::iterator ErrorCheck::review(const FrameQueue::iterator& const ClusterConfigChangeBody* configChange = static_cast(method); if (configChange) { - MemberSet members(ClusterMap::decode(configChange->getCurrent())); + MemberSet members(decodeMemberSet(configChange->getCurrent())); QPID_LOG(debug, cluster << " apply config change to error " << frameSeq << ": " << members); MemberSet intersect; -- cgit v1.2.1