diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2006-04-19 17:49:03 +0000 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2006-04-19 17:49:03 +0000 |
| commit | b1d46227d4ed9e86952e4d2d6059ecbde2d248e0 (patch) | |
| tree | abba06d5ecd01b9210f70130d3a36c8747c36d8f /src/SocketCore.h | |
| parent | 1457d7f660ee83fca44730b38a3f2af800684f2a (diff) | |
make string type argument const string& where possible
Diffstat (limited to 'src/SocketCore.h')
| -rw-r--r-- | src/SocketCore.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SocketCore.h b/src/SocketCore.h index 15827375..7c2a2634 100644 --- a/src/SocketCore.h +++ b/src/SocketCore.h @@ -102,7 +102,7 @@ public: * @param host hostname or ip address to connect to * @param port service port number to connect to */ - void establishConnection(string host, int port); + void establishConnection(const string& host, int port); /** * Makes this socket blocking mode. |
