diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-12-18 12:05:58 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-12-18 12:05:58 +0300 |
commit | ff3f52136772eccf65cd031f7777e2b352946d5d (patch) | |
tree | aa6fcd3f99db3a8aec51aa2fe30bad621a504ba4 /src/utils/translation/poparser.cpp | |
parent | 6ee2ea09ced2da9bd556cd9ab5db63161161a29e (diff) | |
download | mv-ff3f52136772eccf65cd031f7777e2b352946d5d.tar.gz mv-ff3f52136772eccf65cd031f7777e2b352946d5d.tar.bz2 mv-ff3f52136772eccf65cd031f7777e2b352946d5d.tar.xz mv-ff3f52136772eccf65cd031f7777e2b352946d5d.zip |
add restrict into poparser.
Diffstat (limited to 'src/utils/translation/poparser.cpp')
-rw-r--r-- | src/utils/translation/poparser.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/utils/translation/poparser.cpp b/src/utils/translation/poparser.cpp index 6405e5f85..e624c85aa 100644 --- a/src/utils/translation/poparser.cpp +++ b/src/utils/translation/poparser.cpp @@ -59,8 +59,9 @@ void PoParser::openFile(std::string name) } } -PoDict *PoParser::load(const std::string &lang, const std::string &fileName, - PoDict *const dict) +PoDict *PoParser::load(const std::string &restrict lang, + const std::string &restrict fileName, + PoDict *restrict const dict) { logger->log("loading lang: %s, file: %s", lang.c_str(), fileName.c_str()); |