summaryrefslogtreecommitdiff
path: root/methods/rsh.h
diff options
context:
space:
mode:
authorDavid Kalnischkies <kalnischkies@gmail.com>2011-08-11 23:30:09 +0200
committerDavid Kalnischkies <kalnischkies@gmail.com>2011-08-11 23:30:09 +0200
commitf5a34606b4a910e7b7b984940fb2d12681a2dd3b (patch)
treef045b545dec217546f74bf21c274db4f747ddee0 /methods/rsh.h
parent1842a17db2ecebaf7b19de574cb4cd87c687202c (diff)
follow the recommendation of cppcheck to make some method methods (scnr)
const and initial mostly Debug member values in the constructors
Diffstat (limited to 'methods/rsh.h')
-rw-r--r--methods/rsh.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/methods/rsh.h b/methods/rsh.h
index b06d5a94e..98ca6a88c 100644
--- a/methods/rsh.h
+++ b/methods/rsh.h
@@ -34,7 +34,7 @@ class RSHConn
// Raw connection IO
bool WriteMsg(string &Text,bool Sync,const char *Fmt,...);
bool Connect(string Host, string User);
- bool Comp(URI Other) {return Other.Host == ServerName.Host && Other.Port == ServerName.Port;};
+ bool Comp(URI Other) const {return Other.Host == ServerName.Host && Other.Port == ServerName.Port;};
// Connection control
bool Open();