summaryrefslogtreecommitdiff
path: root/src/resources
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-12-18 01:04:17 +0300
committerAndrei Karas <akaras@inbox.ru>2013-12-18 01:04:17 +0300
commit1da23ac3e176da216c626ba7ce1320ff08efafdb (patch)
tree9d85b876657e0658db9bfb2c16ea37b685d050df /src/resources
parent754b514a1fcccc88d7ea191255c60fb70bbd70f1 (diff)
downloadmanaverse-1da23ac3e176da216c626ba7ce1320ff08efafdb.tar.gz
manaverse-1da23ac3e176da216c626ba7ce1320ff08efafdb.tar.bz2
manaverse-1da23ac3e176da216c626ba7ce1320ff08efafdb.tar.xz
manaverse-1da23ac3e176da216c626ba7ce1320ff08efafdb.zip
add restrict into spritedef.
Diffstat (limited to 'src/resources')
-rw-r--r--src/resources/spritedef.cpp4
-rw-r--r--src/resources/spritedef.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/resources/spritedef.cpp b/src/resources/spritedef.cpp
index 1c593fc71..f20bba2a9 100644
--- a/src/resources/spritedef.cpp
+++ b/src/resources/spritedef.cpp
@@ -128,8 +128,8 @@ void SpriteDef::fixDeadAction()
}
}
-void SpriteDef::substituteAction(const std::string &complete,
- const std::string &with)
+void SpriteDef::substituteAction(const std::string &restrict complete,
+ const std::string &restrict with)
{
FOR_EACH (ActionsConstIter, it, mActions)
{
diff --git a/src/resources/spritedef.h b/src/resources/spritedef.h
index f7415e187..9113ee132 100644
--- a/src/resources/spritedef.h
+++ b/src/resources/spritedef.h
@@ -225,8 +225,8 @@ class SpriteDef final : public Resource
* When there are no animations defined for the action "complete", its
* animations become a copy of those of the action "with".
*/
- void substituteAction(const std::string &complete,
- const std::string &with);
+ void substituteAction(const std::string &restrict complete,
+ const std::string &restrict with);
typedef std::map<std::string, ImageSet*> ImageSets;
typedef ImageSets::iterator ImageSetIterator;