summaryrefslogtreecommitdiff
path: root/src/utils/translation/poparser.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-12-18 12:05:58 +0300
committerAndrei Karas <akaras@inbox.ru>2013-12-18 12:05:58 +0300
commitff3f52136772eccf65cd031f7777e2b352946d5d (patch)
treeaa6fcd3f99db3a8aec51aa2fe30bad621a504ba4 /src/utils/translation/poparser.h
parent6ee2ea09ced2da9bd556cd9ab5db63161161a29e (diff)
downloadplus-ff3f52136772eccf65cd031f7777e2b352946d5d.tar.gz
plus-ff3f52136772eccf65cd031f7777e2b352946d5d.tar.bz2
plus-ff3f52136772eccf65cd031f7777e2b352946d5d.tar.xz
plus-ff3f52136772eccf65cd031f7777e2b352946d5d.zip
add restrict into poparser.
Diffstat (limited to 'src/utils/translation/poparser.h')
-rw-r--r--src/utils/translation/poparser.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/utils/translation/poparser.h b/src/utils/translation/poparser.h
index 1d13fa694..15aef53e3 100644
--- a/src/utils/translation/poparser.h
+++ b/src/utils/translation/poparser.h
@@ -35,9 +35,9 @@ class PoParser final
A_DELETE_COPY(PoParser)
- PoDict *load(const std::string &lang,
- const std::string &fileName = "",
- PoDict *const dict = nullptr);
+ PoDict *load(const std::string &restrict lang,
+ const std::string &restrict fileName = "",
+ PoDict *restrict const dict = nullptr);
bool checkLang(std::string lang) const;