diff options
author | Alan Conway <aconway@apache.org> | 2008-01-29 20:29:46 +0000 |
---|---|---|
committer | Alan Conway <aconway@apache.org> | 2008-01-29 20:29:46 +0000 |
commit | 5cc7ee2784983f4875d1b8eca2db75b431e91a6f (patch) | |
tree | 20f3e1133928e8df352e24b23231002bd4887576 /cpp/src/qpid/cluster/Cpg.cpp | |
parent | bbd5c6c55f47ec973cbf035271ee8a276cb11217 (diff) | |
download | qpid-python-5cc7ee2784983f4875d1b8eca2db75b431e91a6f.tar.gz |
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
Diffstat (limited to 'cpp/src/qpid/cluster/Cpg.cpp')
-rw-r--r-- | cpp/src/qpid/cluster/Cpg.cpp | 11 |
1 files changed, 0 insertions, 11 deletions
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<uint32_t>::max()); - return nodeid; -} - ostream& operator<<(ostream& o, std::pair<cpg_address*,int> a) { ostream_iterator<Cpg::Id> 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 |