diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-06-24 01:38:17 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-06-25 15:07:14 +0300 |
commit | 233f2b564e7707f79deb493444f28363ac10bfd4 (patch) | |
tree | ee9d960c24e68f7ce9da05ee9a0333a74615565d /src/gui/widgets/icon.h | |
parent | 1498a699f89f7b5aebdc4629c645c3702ee04f92 (diff) | |
download | manaverse-233f2b564e7707f79deb493444f28363ac10bfd4.tar.gz manaverse-233f2b564e7707f79deb493444f28363ac10bfd4.tar.bz2 manaverse-233f2b564e7707f79deb493444f28363ac10bfd4.tar.xz manaverse-233f2b564e7707f79deb493444f28363ac10bfd4.zip |
Add missing checks on nonnull attributes to widgets.
Diffstat (limited to 'src/gui/widgets/icon.h')
-rw-r--r-- | src/gui/widgets/icon.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/widgets/icon.h b/src/gui/widgets/icon.h index bb2101b01..e48f71b24 100644 --- a/src/gui/widgets/icon.h +++ b/src/gui/widgets/icon.h @@ -67,9 +67,9 @@ class Icon final : public Widget /** * Draws the Icon. */ - void draw(Graphics *g) override final; + void draw(Graphics *g) override final A_NONNULL(2); - void safeDraw(Graphics *g) override final; + void safeDraw(Graphics *g) override final A_NONNULL(2); private: Image *mImage; |