summaryrefslogtreecommitdiff
path: root/src/particle/rotationalparticle.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/particle/rotationalparticle.cpp')
-rw-r--r--src/particle/rotationalparticle.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/particle/rotationalparticle.cpp b/src/particle/rotationalparticle.cpp
index dc3206601..cee5c3c56 100644
--- a/src/particle/rotationalparticle.cpp
+++ b/src/particle/rotationalparticle.cpp
@@ -31,14 +31,15 @@
static const double PI = M_PI;
static const float PI2 = 2 * M_PI;
-RotationalParticle::RotationalParticle(Animation *const animation) :
+RotationalParticle::RotationalParticle(Animation *restrict const animation) :
ImageParticle(nullptr),
mAnimation(new SimpleAnimation(animation))
{
}
RotationalParticle::RotationalParticle(const XmlNodePtr animationNode,
- const std::string& dyePalettes) :
+ const std::string &restrict
+ dyePalettes) :
ImageParticle(nullptr),
mAnimation(new SimpleAnimation(animationNode, dyePalettes))
{
@@ -50,7 +51,7 @@ RotationalParticle::~RotationalParticle()
mImage = nullptr;
}
-bool RotationalParticle::update()
+bool RotationalParticle::update() restrict2
{
if (!mAnimation)
return false;