diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-09-04 19:11:53 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-09-04 19:11:53 +0300 |
commit | 3a407bb6b73a186eafd99bcec570f88097c4b2e1 (patch) | |
tree | ea57a752c348ba0a883294855ad3c62c16e9749d /src/utils/translation/translationmanager.h | |
parent | 872fc368f7b253f26714fc47323064f270b62b40 (diff) | |
download | mv-3a407bb6b73a186eafd99bcec570f88097c4b2e1.tar.gz mv-3a407bb6b73a186eafd99bcec570f88097c4b2e1.tar.bz2 mv-3a407bb6b73a186eafd99bcec570f88097c4b2e1.tar.xz mv-3a407bb6b73a186eafd99bcec570f88097c4b2e1.zip |
Add const to more classes.
Diffstat (limited to 'src/utils/translation/translationmanager.h')
-rw-r--r-- | src/utils/translation/translationmanager.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/utils/translation/translationmanager.h b/src/utils/translation/translationmanager.h index debb555ea..25f88a4c1 100644 --- a/src/utils/translation/translationmanager.h +++ b/src/utils/translation/translationmanager.h @@ -31,8 +31,8 @@ class TranslationManager { public: static PoDict *loadLang(StringVect lang, - std::string subName, - PoDict *dict = nullptr); + const std::string &subName, + PoDict *const dict = nullptr); static void init(); @@ -41,7 +41,7 @@ class TranslationManager static void loadCurrentLang(); static bool translateFile(const std::string &fileName, - PoDict *dict, + PoDict *const dict, StringVect &lines); }; |