From b0d6ef00eebb7dcd03b051db63840c04243a784d Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 8 Jun 2017 03:34:07 +0300 Subject: Add missing consts or string references. --- src/utils/langs.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/utils') 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); -- cgit v1.2.3-70-g09d2