summaryrefslogtreecommitdiff
path: root/src/gui/widgets/basiccontainer.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-06-24 01:38:17 +0300
committerAndrei Karas <akaras@inbox.ru>2015-06-25 15:07:14 +0300
commit233f2b564e7707f79deb493444f28363ac10bfd4 (patch)
treeee9d960c24e68f7ce9da05ee9a0333a74615565d /src/gui/widgets/basiccontainer.h
parent1498a699f89f7b5aebdc4629c645c3702ee04f92 (diff)
downloadmanaplus-233f2b564e7707f79deb493444f28363ac10bfd4.tar.gz
manaplus-233f2b564e7707f79deb493444f28363ac10bfd4.tar.bz2
manaplus-233f2b564e7707f79deb493444f28363ac10bfd4.tar.xz
manaplus-233f2b564e7707f79deb493444f28363ac10bfd4.zip
Add missing checks on nonnull attributes to widgets.
Diffstat (limited to 'src/gui/widgets/basiccontainer.h')
-rw-r--r--src/gui/widgets/basiccontainer.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/widgets/basiccontainer.h b/src/gui/widgets/basiccontainer.h
index eb115777c..c18e3ba63 100644
--- a/src/gui/widgets/basiccontainer.h
+++ b/src/gui/widgets/basiccontainer.h
@@ -163,9 +163,9 @@ class BasicContainer notfinal : public Widget,
*
* @param graphics A graphics object to draw with.
*/
- virtual void drawChildren(Graphics* graphics);
+ virtual void drawChildren(Graphics* graphics) A_NONNULL(2);
- virtual void safeDrawChildren(Graphics* graphics);
+ virtual void safeDrawChildren(Graphics* graphics) A_NONNULL(2);
/**
* Calls logic for the children widgets of the basic