diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-06-13 17:57:32 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-06-13 17:57:32 +0300 |
commit | c4d8fa788e0f89d73ba5ae2b66b79ad0351c5fbf (patch) | |
tree | 37b78a9b847d938b5a34acf2f000fef3f31eef44 /src/utils | |
parent | 1302ad311b666459c4de36420af09c2a1e7867d0 (diff) | |
download | manaplus-c4d8fa788e0f89d73ba5ae2b66b79ad0351c5fbf.tar.gz manaplus-c4d8fa788e0f89d73ba5ae2b66b79ad0351c5fbf.tar.bz2 manaplus-c4d8fa788e0f89d73ba5ae2b66b79ad0351c5fbf.tar.xz manaplus-c4d8fa788e0f89d73ba5ae2b66b79ad0351c5fbf.zip |
Add missing const references to constructor parameters.
Diffstat (limited to 'src/utils')
-rw-r--r-- | src/utils/translation/podict.cpp | 2 | ||||
-rw-r--r-- | src/utils/translation/podict.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/utils/translation/podict.cpp b/src/utils/translation/podict.cpp index 56fd42467..cd374319f 100644 --- a/src/utils/translation/podict.cpp +++ b/src/utils/translation/podict.cpp @@ -31,7 +31,7 @@ PoDict *reverseDictionary = nullptr; PoDict *mainTranslator = nullptr; #endif // ENABLE_CUSTOMNLS -PoDict::PoDict(std::string lang) : +PoDict::PoDict(const std::string &lang) : mPoLines(), mLang(lang) { diff --git a/src/utils/translation/podict.h b/src/utils/translation/podict.h index d40aa1499..d8f47b896 100644 --- a/src/utils/translation/podict.h +++ b/src/utils/translation/podict.h @@ -31,7 +31,7 @@ typedef std::map <std::string, std::string> PoMap; class PoDict final { public: - explicit PoDict(std::string lang); + explicit PoDict(const std::string &lang); A_DELETE_COPY(PoDict) |