summaryrefslogtreecommitdiff
path: root/src/particle/animationparticle.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/particle/animationparticle.cpp')
-rw-r--r--src/particle/animationparticle.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/particle/animationparticle.cpp b/src/particle/animationparticle.cpp
index 919fa34e9..0d51976cb 100644
--- a/src/particle/animationparticle.cpp
+++ b/src/particle/animationparticle.cpp
@@ -28,14 +28,14 @@
#include "debug.h"
-AnimationParticle::AnimationParticle(Animation *const animation) :
+AnimationParticle::AnimationParticle(Animation *restrict const animation) :
ImageParticle(nullptr),
mAnimation(new SimpleAnimation(animation))
{
}
AnimationParticle::AnimationParticle(XmlNodePtrConst animationNode,
- const std::string& dyePalettes) :
+ const std::string &restrict dyePalettes) :
ImageParticle(nullptr),
mAnimation(new SimpleAnimation(animationNode, dyePalettes))
{
@@ -47,7 +47,7 @@ AnimationParticle::~AnimationParticle()
mImage = nullptr;
}
-bool AnimationParticle::update()
+bool AnimationParticle::update() restrict2
{
if (mAnimation)
{