summaryrefslogtreecommitdiff
path: root/src/utils/translation/translationmanager.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-09-04 19:11:53 +0300
committerAndrei Karas <akaras@inbox.ru>2012-09-04 19:11:53 +0300
commit3a407bb6b73a186eafd99bcec570f88097c4b2e1 (patch)
treeea57a752c348ba0a883294855ad3c62c16e9749d /src/utils/translation/translationmanager.h
parent872fc368f7b253f26714fc47323064f270b62b40 (diff)
downloadmanaplus-3a407bb6b73a186eafd99bcec570f88097c4b2e1.tar.gz
manaplus-3a407bb6b73a186eafd99bcec570f88097c4b2e1.tar.bz2
manaplus-3a407bb6b73a186eafd99bcec570f88097c4b2e1.tar.xz
manaplus-3a407bb6b73a186eafd99bcec570f88097c4b2e1.zip
Add const to more classes.
Diffstat (limited to 'src/utils/translation/translationmanager.h')
-rw-r--r--src/utils/translation/translationmanager.h6
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);
};