summaryrefslogtreecommitdiff
path: root/src/utils
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-06-08 03:34:07 +0300
committerAndrei Karas <akaras@inbox.ru>2017-06-08 03:34:07 +0300
commitb0d6ef00eebb7dcd03b051db63840c04243a784d (patch)
tree8998572186af79ee342ba3515ae8fe52875ede1c /src/utils
parent4acdea8dc3c12147965f63b2974d192d8cd0ed34 (diff)
downloadplus-b0d6ef00eebb7dcd03b051db63840c04243a784d.tar.gz
plus-b0d6ef00eebb7dcd03b051db63840c04243a784d.tar.bz2
plus-b0d6ef00eebb7dcd03b051db63840c04243a784d.tar.xz
plus-b0d6ef00eebb7dcd03b051db63840c04243a784d.zip
Add missing consts or string references.
Diffstat (limited to 'src/utils')
-rw-r--r--src/utils/langs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/langs.cpp b/src/utils/langs.cpp
index 595a7ea09..b4672197a 100644
--- a/src/utils/langs.cpp
+++ b/src/utils/langs.cpp
@@ -69,7 +69,7 @@ LangVect getServerLang()
LangVect langs;
#ifndef DYECMD
const int id = PlayerInfo::getServerLanguage();
- std::string lang = LanguageDb::getPo(id);
+ const std::string &lang = LanguageDb::getPo(id);
if (lang.empty())
return langs;
langs.push_back(lang);