From 4b19b15936faa8e1d5f331cc11147ccfc360bde7 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 20 Sep 2013 20:50:50 +0300 Subject: improve a bit code speed. --- src/gui/serverdialog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui/serverdialog.cpp') 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); } -- cgit v1.2.3-70-g09d2