summaryrefslogtreecommitdiff
path: root/src/net/ea/network.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-05-01 15:14:16 +0300
committerAndrei Karas <akaras@inbox.ru>2014-05-01 23:42:37 +0300
commitf9030497b6196ce2fadb6b6ada5d784be227d9a6 (patch)
treed11408b35d0860709d31e6520578cdd28391f151 /src/net/ea/network.cpp
parentf52ca7838789a6910840597a929ecf6e0be9e1de (diff)
downloadmv-f9030497b6196ce2fadb6b6ada5d784be227d9a6.tar.gz
mv-f9030497b6196ce2fadb6b6ada5d784be227d9a6.tar.bz2
mv-f9030497b6196ce2fadb6b6ada5d784be227d9a6.tar.xz
mv-f9030497b6196ce2fadb6b6ada5d784be227d9a6.zip
Add missing const.
Diffstat (limited to 'src/net/ea/network.cpp')
-rw-r--r--src/net/ea/network.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/ea/network.cpp b/src/net/ea/network.cpp
index 128ca2996..61a9499d0 100644
--- a/src/net/ea/network.cpp
+++ b/src/net/ea/network.cpp
@@ -86,7 +86,7 @@ Network::~Network()
TcpNet::quit();
}
-bool Network::connect(ServerInfo server)
+bool Network::connect(const ServerInfo &server)
{
if (mState != IDLE && mState != NET_ERROR)
{