summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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;