summaryrefslogtreecommitdiff
path: root/src/resources/db/chardb.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-12-18 01:08:13 +0300
committerAndrei Karas <akaras@inbox.ru>2013-12-18 01:08:13 +0300
commit3d5c3d9618096e1a5995d7df2bd3e4098b3c5bd4 (patch)
tree94493c6bc48de98a9610333293808f39c1b68ba1 /src/resources/db/chardb.cpp
parent10519e881b3635b7189cd4831fdd70c4806b240c (diff)
downloadplus-3d5c3d9618096e1a5995d7df2bd3e4098b3c5bd4.tar.gz
plus-3d5c3d9618096e1a5995d7df2bd3e4098b3c5bd4.tar.bz2
plus-3d5c3d9618096e1a5995d7df2bd3e4098b3c5bd4.tar.xz
plus-3d5c3d9618096e1a5995d7df2bd3e4098b3c5bd4.zip
add restrict into chardb.
Diffstat (limited to 'src/resources/db/chardb.cpp')
-rw-r--r--src/resources/db/chardb.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/resources/db/chardb.cpp b/src/resources/db/chardb.cpp
index 1c2e0ec82..f97dd9b3b 100644
--- a/src/resources/db/chardb.cpp
+++ b/src/resources/db/chardb.cpp
@@ -91,7 +91,8 @@ void CharDB::load()
}
void CharDB::loadMinMax(const XmlNodePtr node,
- unsigned *const min, unsigned *const max)
+ unsigned *restrict const min,
+ unsigned *restrict const max)
{
*min = XML::getProperty(node, "min", 1);
*max = XML::getProperty(node, "max", 10);