diff options
Diffstat (limited to 'src/imagesprite.h')
-rw-r--r-- | src/imagesprite.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/imagesprite.h b/src/imagesprite.h index b5623a12a..528b8c6ac 100644 --- a/src/imagesprite.h +++ b/src/imagesprite.h @@ -47,7 +47,8 @@ class ImageSprite final : public Sprite { return false; } 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 { return mImage ? mImage->getWidth() : 0; } |