diff options
Diffstat (limited to 'net/netmap/files/patch-netmap__hostclass.h')
-rw-r--r-- | net/netmap/files/patch-netmap__hostclass.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/net/netmap/files/patch-netmap__hostclass.h b/net/netmap/files/patch-netmap__hostclass.h new file mode 100644 index 000000000000..724e780cba24 --- /dev/null +++ b/net/netmap/files/patch-netmap__hostclass.h @@ -0,0 +1,15 @@ +--- netmap/hostclass.h.orig ++++ netmap/hostclass.h +@@ -48,10 +48,10 @@ + HostClass* a; + HostClass* b; + +- bool operator==(HostLink& hl) ++ bool operator==(const HostLink& hl) const + { return a == hl.a && b == hl.b; } + +- bool operator <(HostLink& hl) ++ bool operator <(const HostLink& hl) const + { return a==hl.a ? b < hl.b : a < hl.a; } + }; + |