summaryrefslogtreecommitdiff
path: root/src/resources/spritedef.cpp
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/spritedef.cpp
parent754b514a1fcccc88d7ea191255c60fb70bbd70f1 (diff)
downloadmv-1da23ac3e176da216c626ba7ce1320ff08efafdb.tar.gz
mv-1da23ac3e176da216c626ba7ce1320ff08efafdb.tar.bz2
mv-1da23ac3e176da216c626ba7ce1320ff08efafdb.tar.xz
mv-1da23ac3e176da216c626ba7ce1320ff08efafdb.zip
add restrict into spritedef.
Diffstat (limited to 'src/resources/spritedef.cpp')
-rw-r--r--src/resources/spritedef.cpp4
1 files changed, 2 insertions, 2 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)
{