diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-05-07 17:54:05 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-05-07 17:54:05 +0300 |
commit | b43451daa5dc7b2e352d084d45934cf71db7ae4f (patch) | |
tree | 1e636b067a19ca00fe757d2c287342b300058b29 /src/utils/translation | |
parent | 5b1eaa9ce112d70f3b93699145858e6a33ab2a3b (diff) | |
download | manaverse-b43451daa5dc7b2e352d084d45934cf71db7ae4f.tar.gz manaverse-b43451daa5dc7b2e352d084d45934cf71db7ae4f.tar.bz2 manaverse-b43451daa5dc7b2e352d084d45934cf71db7ae4f.tar.xz manaverse-b43451daa5dc7b2e352d084d45934cf71db7ae4f.zip |
Add missing const.
Diffstat (limited to 'src/utils/translation')
-rw-r--r-- | src/utils/translation/podict.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/utils/translation/podict.h b/src/utils/translation/podict.h index 36cf0d4af..45150d408 100644 --- a/src/utils/translation/podict.h +++ b/src/utils/translation/podict.h @@ -47,10 +47,10 @@ class PoDict final PoMap *getMap() { return &mPoLines; } - void set(std::string key, std::string value) + void set(const std::string &key, const std::string &value) { mPoLines[key] = value; } - void setLang(std::string lang) + void setLang(const std::string &lang) { mLang = lang; } private: |