diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-12-18 01:08:13 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-12-18 01:08:13 +0300 |
commit | 3d5c3d9618096e1a5995d7df2bd3e4098b3c5bd4 (patch) | |
tree | 94493c6bc48de98a9610333293808f39c1b68ba1 /src/resources/db/chardb.cpp | |
parent | 10519e881b3635b7189cd4831fdd70c4806b240c (diff) | |
download | manaverse-3d5c3d9618096e1a5995d7df2bd3e4098b3c5bd4.tar.gz manaverse-3d5c3d9618096e1a5995d7df2bd3e4098b3c5bd4.tar.bz2 manaverse-3d5c3d9618096e1a5995d7df2bd3e4098b3c5bd4.tar.xz manaverse-3d5c3d9618096e1a5995d7df2bd3e4098b3c5bd4.zip |
add restrict into chardb.
Diffstat (limited to 'src/resources/db/chardb.cpp')
-rw-r--r-- | src/resources/db/chardb.cpp | 3 |
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); |