diff options
Diffstat (limited to 'src/utils/langs.cpp')
-rw-r--r-- | src/utils/langs.cpp | 2 |
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); |