HEX
Server: Apache/2.4.41 (FreeBSD) OpenSSL/1.0.2s mod_fcgid/2.3.9
System: FreeBSD salazo 12.0-RELEASE-p1303-ZFS hostBSD 12.0-RELEASE-p1303-ZFS DMR amd64
User: admin (1000)
PHP: 7.4.3
Disabled: NONE
Upload Files
File: /usr/ports/net/netmap/files/patch-netmap__hostclass.h
--- 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; }
 };