aboutsummaryrefslogtreecommitdiff
path: root/net/latd/files/patch-server.h
blob: cb79030ff1f01df2be26cdedde63708a6309107a (plain) (blame)
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
--- server.h.orig	2008-10-03 15:49:53 UTC
+++ 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);
 	}