From 177df99bd7b7ba397069cafa7191a43c0df4c159 Mon Sep 17 00:00:00 2001 From: Martin Wilke Date: Sun, 19 Jan 2014 09:28:21 +0000 Subject: - Fix build with clang PR: 185506 Submitted by: ports fury --- net/netmap/files/patch-netmap__hostclass.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 net/netmap/files/patch-netmap__hostclass.h (limited to 'net/netmap/files/patch-netmap__hostclass.h') 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; } + }; + -- cgit v1.2.3