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/sprite.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/sprite.h') diff --git a/src/sprite.h b/src/sprite.h index 568663590..1062615c9 100644 --- a/src/sprite.h +++ b/src/sprite.h @@ -62,7 +62,8 @@ class Sprite notfinal * pixels. */ virtual void draw(Graphics *const graphics, - const int posX, const int posY) const = 0; + const int posX, const int posY) + const A_NONNULL(2) = 0; /** * Gets the width in pixels of the image of the current frame -- cgit v1.2.3-60-g2f50