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/being/actor.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/being/actor.h') diff --git a/src/being/actor.h b/src/being/actor.h index a36c3560e..f76f7ba09 100644 --- a/src/being/actor.h +++ b/src/being/actor.h @@ -50,7 +50,8 @@ class Actor notfinal * partly with the clipping rectangle support. */ virtual void draw(Graphics *const graphics, - const int offsetX, const int offsetY) const = 0; + const int offsetX, + const int offsetY) const A_NONNULL(2) = 0; /** * Returns the horizontal size of the actors graphical representation -- cgit v1.2.3-60-g2f50