From 5cc7ee2784983f4875d1b8eca2db75b431e91a6f Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Tue, 29 Jan 2008 20:29:46 +0000 Subject: Re-enabled build of cluster code when openais is installed. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@616507 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/qpid/cluster/Cpg.cpp | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'cpp/src/qpid/cluster/Cpg.cpp') diff --git a/cpp/src/qpid/cluster/Cpg.cpp b/cpp/src/qpid/cluster/Cpg.cpp index 506703d105..01d97d2a17 100644 --- a/cpp/src/qpid/cluster/Cpg.cpp +++ b/cpp/src/qpid/cluster/Cpg.cpp @@ -145,13 +145,6 @@ std::string Cpg::cantMcastMsg(const Name& group) { return "Cannot mcast to CPG group "+group.str(); } -uint32_t Cpg::getLocalNoideId() const { - unsigned int nodeid; - check(cpg_local_get(handle, &nodeid), "Cannot get local node ID"); - assert(nodeid <= std::numeric_limits::max()); - return nodeid; -} - ostream& operator<<(ostream& o, std::pair a) { ostream_iterator i(o, " "); std::copy(a.first, a.first+a.second, i); @@ -177,10 +170,6 @@ ostream& operator <<(ostream& out, const cpg_name& name) { } -Cpg::Id Cpg::Id::self(Cpg& cpg) { - return Id(cpg.getLocalNoideId(), getpid()); -} - }} // namespace qpid::cluster -- cgit v1.2.1