summaryrefslogtreecommitdiff
path: root/src/gui/serverdialog.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-09-20 20:50:50 +0300
committerAndrei Karas <akaras@inbox.ru>2013-09-20 20:50:50 +0300
commit4b19b15936faa8e1d5f331cc11147ccfc360bde7 (patch)
treee601b548c0c55a7e434b30cfff328ca5e3662bee /src/gui/serverdialog.cpp
parent042c4f09e34157522692d6f99f5c51bc04e8f27a (diff)
downloadmanaverse-4b19b15936faa8e1d5f331cc11147ccfc360bde7.tar.gz
manaverse-4b19b15936faa8e1d5f331cc11147ccfc360bde7.tar.bz2
manaverse-4b19b15936faa8e1d5f331cc11147ccfc360bde7.tar.xz
manaverse-4b19b15936faa8e1d5f331cc11147ccfc360bde7.zip
improve a bit code speed.
Diffstat (limited to 'src/gui/serverdialog.cpp')
-rw-r--r--src/gui/serverdialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/serverdialog.cpp b/src/gui/serverdialog.cpp
index 17d299772..325d43502 100644
--- a/src/gui/serverdialog.cpp
+++ b/src/gui/serverdialog.cpp
@@ -841,7 +841,7 @@ int ServerDialog::downloadUpdate(void *ptr, DownloadStatus status,
return 0;
}
-void ServerDialog::updateServer(ServerInfo server, const int index)
+void ServerDialog::updateServer(const ServerInfo &server, const int index)
{
saveCustomServers(server, index);
}