diff options
-rw-r--r-- | node/Multicaster.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/node/Multicaster.hpp b/node/Multicaster.hpp index 2cdcfb82..c55c6f3c 100644 --- a/node/Multicaster.hpp +++ b/node/Multicaster.hpp @@ -168,6 +168,7 @@ private: MulticastGroup mg; inline bool operator==(const Key &k) const { return ((nwid == k.nwid)&&(mg == k.mg)); } + inline bool operator!=(const Key &k) const { return ((nwid != k.nwid)||(mg != k.mg)); } inline unsigned long hashCode() const { return (mg.hashCode() ^ (unsigned long)(nwid ^ (nwid >> 32))); } }; |