summaryrefslogtreecommitdiff
path: root/net/latd/patches/patch-server.h
blob: f335f95251cfd83e1dd3b853f4354aee0abc13c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
$NetBSD: patch-server.h,v 1.1 2014/08/13 22:35:29 joerg Exp $

--- server.h.orig	2014-08-13 13:24:50.000000000 +0000
+++ server.h
@@ -152,22 +152,22 @@ class LATServer
 	  return (!(type == INACTIVE || type == DISABLED_PTY));
 	}
 
-	bool operator==(int _fd)
+	bool operator==(int _fd) const
 	{
 	    return (type != INACTIVE && fd == _fd);
 	}
 
-	bool operator==(const fdinfo &fdi)
+	bool operator==(const fdinfo &fdi) const
 	{
 	    return (fd == fdi.fd);
 	}
 
-	bool operator!=(const fdinfo &fdi)
+	bool operator!=(const fdinfo &fdi) const
 	{
 	    return (fd != fdi.fd);
 	}
 
-	bool operator!=(int _fd)
+	bool operator!=(int _fd) const
 	{
 	    return (type == INACTIVE || fd != _fd);
 	}