From f9030497b6196ce2fadb6b6ada5d784be227d9a6 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 1 May 2014 15:14:16 +0300 Subject: Add missing const. --- src/client.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/client.cpp') diff --git a/src/client.cpp b/src/client.cpp index ce4cd081b..83147d34c 100644 --- a/src/client.cpp +++ b/src/client.cpp @@ -2053,7 +2053,7 @@ void Client::initConfigDir() * Initializes the home directory. On UNIX and FreeBSD, ~/.mana is used. On * Windows and other systems we use the current working directory. */ -void Client::initServerConfig(std::string serverName) +void Client::initServerConfig(const std::string &serverName) { mServerConfigDir = mConfigDir + dirSeparator + serverName; -- cgit v1.2.3-60-g2f50