Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/tcpconnection.h')
-rw-r--r--src/net/tcpconnection.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/tcpconnection.h b/src/net/tcpconnection.h
index 7e71ed0..6076215 100644
--- a/src/net/tcpconnection.h
+++ b/src/net/tcpconnection.h
@@ -46,7 +46,7 @@ public:
int fd() const;
/// connect to a remote host
- virtual void connect(std::string to_host, int to_port);
+ virtual void connect(std::string const &to_host, int to_port);
/// disconnect from a remote host
virtual void disconnect();