diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2014-01-19 09:28:21 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2014-01-19 09:28:21 +0000 |
commit | 177df99bd7b7ba397069cafa7191a43c0df4c159 (patch) | |
tree | f7507675e918e36c1c75e3fa13c10efba1be88f3 /net/netmap/files/patch-netmap__hostclass.h | |
parent | - Fix build (diff) |
- Fix build with clang
PR: 185506
Submitted by: ports fury
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; } + }; + |