diff options
author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2019-08-04 15:35:43 -0700 |
---|---|---|
committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2019-08-04 15:35:43 -0700 |
commit | 818b7e4a2e35adfc241aed38e90b34580e6b5d9d (patch) | |
tree | 4a2fae4b97b898ab354e0bc18886350eee00f502 | |
parent | 00d63f604682c9e16bcfa179ca3de0822b87affd (diff) | |
download | infinitytier-818b7e4a2e35adfc241aed38e90b34580e6b5d9d.tar.gz infinitytier-818b7e4a2e35adfc241aed38e90b34580e6b5d9d.zip |
GitHub issue #993 (???)
-rw-r--r-- | node/Multicaster.hpp | 3 |
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); } |