summaryrefslogtreecommitdiff
path: root/src/utils/translation
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-02-07 17:56:08 +0300
committerAndrei Karas <akaras@inbox.ru>2014-02-07 17:56:08 +0300
commit82a4015692e630f36f94a55590c1b59b958c5a17 (patch)
tree72e7cbd31b45e13d252a38d5fcad4620b48ec6b5 /src/utils/translation
parentafc6bb37100fd110512cd1119920719376e87ecf (diff)
downloadmanaplus-82a4015692e630f36f94a55590c1b59b958c5a17.tar.gz
manaplus-82a4015692e630f36f94a55590c1b59b958c5a17.tar.bz2
manaplus-82a4015692e630f36f94a55590c1b59b958c5a17.tar.xz
manaplus-82a4015692e630f36f94a55590c1b59b958c5a17.zip
add missing const and static keywords.
Diffstat (limited to 'src/utils/translation')
-rw-r--r--src/utils/translation/poparser.cpp2
-rw-r--r--src/utils/translation/poparser.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/utils/translation/poparser.cpp b/src/utils/translation/poparser.cpp
index abe9fdf26..f0ab95005 100644
--- a/src/utils/translation/poparser.cpp
+++ b/src/utils/translation/poparser.cpp
@@ -226,7 +226,7 @@ PoDict *PoParser::getEmptyDict()
return new PoDict("");
}
-bool PoParser::checkLang(std::string lang) const
+bool PoParser::checkLang(std::string lang)
{
// check is po file exists
const ResourceManager *const resman = ResourceManager::getInstance();
diff --git a/src/utils/translation/poparser.h b/src/utils/translation/poparser.h
index b4dc8a6bd..08a6ac7b1 100644
--- a/src/utils/translation/poparser.h
+++ b/src/utils/translation/poparser.h
@@ -39,7 +39,7 @@ class PoParser final
const std::string &restrict fileName = "",
PoDict *restrict const dict = nullptr);
- bool checkLang(std::string lang) const;
+ static bool checkLang(std::string lang);
static PoDict *getEmptyDict();