summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2019-08-04 15:35:43 -0700
committerAdam Ierymenko <adam.ierymenko@gmail.com>2019-08-04 15:35:43 -0700
commit818b7e4a2e35adfc241aed38e90b34580e6b5d9d (patch)
tree4a2fae4b97b898ab354e0bc18886350eee00f502
parent00d63f604682c9e16bcfa179ca3de0822b87affd (diff)
downloadinfinitytier-818b7e4a2e35adfc241aed38e90b34580e6b5d9d.tar.gz
infinitytier-818b7e4a2e35adfc241aed38e90b34580e6b5d9d.zip
GitHub issue #993 (???)
-rw-r--r--node/Multicaster.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/node/Multicaster.hpp b/node/Multicaster.hpp
index c55c6f3c..971f84af 100644
--- a/node/Multicaster.hpp
+++ b/node/Multicaster.hpp
@@ -177,6 +177,9 @@ private:
MulticastGroupMember() {}
MulticastGroupMember(const Address &a,uint64_t ts) : address(a),timestamp(ts) {}
+ inline bool operator<(const MulticastGroupMember &a) const { return (address < a.address); }
+ inline bool operator==(const MulticastGroupMember &a) const { return (address == a.address); }
+ inline bool operator!=(const MulticastGroupMember &a) const { return (address != a.address); }
inline bool operator<(const Address &a) const { return (address < a); }
inline bool operator==(const Address &a) const { return (address == a); }
inline bool operator!=(const Address &a) const { return (address != a); }