diff options
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 |