From 1498a699f89f7b5aebdc4629c645c3702ee04f92 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 24 Jun 2015 01:13:26 +0300 Subject: Add A_NONNULL attribute to all parameters with class Graphics. --- src/animatedsprite.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/animatedsprite.h') diff --git a/src/animatedsprite.h b/src/animatedsprite.h index d2a43fff4..5e0f58c76 100644 --- a/src/animatedsprite.h +++ b/src/animatedsprite.h @@ -68,7 +68,8 @@ class AnimatedSprite final : public Sprite bool update(const int time) override final; void draw(Graphics *const graphics, - const int posX, const int posY) const override final; + const int posX, const int posY) + const override final A_NONNULL(2); int getWidth() const override final A_WARN_UNUSED; -- cgit v1.2.3-70-g09d2