summaryrefslogtreecommitdiff
path: root/src/particle/animationparticle.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-03-16 15:02:46 +0300
committerAndrei Karas <akaras@inbox.ru>2016-03-16 15:02:46 +0300
commit8ae877cf5d4abd2c97d299c5067c6d2f77dd2811 (patch)
tree7d557177a681aa8ddc4331d22bf0f1d126cb4051 /src/particle/animationparticle.h
parent8c2820ce9a67bf6e0691e4d72804a2dd1a2a3eac (diff)
downloadmanaverse-8ae877cf5d4abd2c97d299c5067c6d2f77dd2811.tar.gz
manaverse-8ae877cf5d4abd2c97d299c5067c6d2f77dd2811.tar.bz2
manaverse-8ae877cf5d4abd2c97d299c5067c6d2f77dd2811.tar.xz
manaverse-8ae877cf5d4abd2c97d299c5067c6d2f77dd2811.zip
Add nonnull attributes to particle classes.
Diffstat (limited to 'src/particle/animationparticle.h')
-rw-r--r--src/particle/animationparticle.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/particle/animationparticle.h b/src/particle/animationparticle.h
index e6c2d1de0..112c1f10a 100644
--- a/src/particle/animationparticle.h
+++ b/src/particle/animationparticle.h
@@ -33,7 +33,8 @@ class SimpleAnimation;
class AnimationParticle final : public ImageParticle
{
public:
- explicit AnimationParticle(Animation *restrict const animation);
+ explicit AnimationParticle(Animation *restrict const animation)
+ A_NONNULL(2);
explicit AnimationParticle(XmlNodePtrConst animationNode,
const std::string &restrict dyePalettes