diff options
Diffstat (limited to 'node/Multicaster.hpp')
-rw-r--r-- | node/Multicaster.hpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/node/Multicaster.hpp b/node/Multicaster.hpp index e57f81fe..c6c2a209 100644 --- a/node/Multicaster.hpp +++ b/node/Multicaster.hpp @@ -203,6 +203,10 @@ private: MulticastGroupMember() {} MulticastGroupMember(const Address &a,uint64_t ts) : address(a),timestamp(ts) {} + 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); } + Address address; uint64_t timestamp; // time of last notification }; |