More speed stuff.
This commit is contained in:
parent
18d1772bb4
commit
e6f9ab929d
4 changed files with 18 additions and 11 deletions
|
@ -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
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue