summaryrefslogtreecommitdiff
path: root/node/MAC.hpp
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2015-08-27 16:17:21 -0700
committerAdam Ierymenko <adam.ierymenko@gmail.com>2015-08-27 16:17:21 -0700
commitb11ffc9635204f11daac4f20596dc4e3da687eee (patch)
tree18ff0abd97c5b267e868104c3f0736e0e577b1ba /node/MAC.hpp
parent3947807b1ffc844f62eeec7dd0fe552d280fe807 (diff)
downloadinfinitytier-b11ffc9635204f11daac4f20596dc4e3da687eee.tar.gz
infinitytier-b11ffc9635204f11daac4f20596dc4e3da687eee.zip
Integrate Hashtable into Multicaster, where @mwarning found heaviest std::map() overhead.
Diffstat (limited to 'node/MAC.hpp')
-rw-r--r--node/MAC.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/node/MAC.hpp b/node/MAC.hpp
index 442a7a2e..619b7195 100644
--- a/node/MAC.hpp
+++ b/node/MAC.hpp
@@ -242,6 +242,8 @@ public:
*/
inline unsigned int size() const throw() { return 6; }
+ inline unsigned long hashCode() const throw() { return (unsigned long)_m; }
+
inline MAC &operator=(const MAC &m)
throw()
{