blob: 3874461681b5710075d7e3bd3463d177f98ce1c4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
Const is good...
-mi
--- src/Guesser.h 2010-09-27 19:02:01.000000000 -0400
+++ src/Guesser.h 2015-03-23 11:42:51.000000000 -0400
@@ -20,5 +20,5 @@
{
public:
- bool operator()( const SocketPair &sp1, const SocketPair & sp2 )
+ bool operator()( const SocketPair &sp1, const SocketPair & sp2 ) const
{
if( sp1==sp2 )
--- src/TCContainer.h 2010-09-27 19:02:01.000000000 -0400
+++ src/TCContainer.h 2015-03-23 11:40:43.000000000 -0400
@@ -58,5 +58,5 @@
{
public:
- bool operator()( const SocketPair &sp1, const SocketPair &sp2 )
+ bool operator()( const SocketPair &sp1, const SocketPair &sp2 ) const
{
if( sp1==sp2 )
|