Parcourir la source

GitHub issue #993 (???)

Adam Ierymenko il y a 6 ans
Parent
commit
00d63f6046
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1 0
      node/Multicaster.hpp

+ 1 - 0
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))); }
 	};