From 233f2b564e7707f79deb493444f28363ac10bfd4 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 24 Jun 2015 01:38:17 +0300 Subject: Add missing checks on nonnull attributes to widgets. --- src/gui/widgets/layoutarray.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/gui/widgets/layoutarray.h') diff --git a/src/gui/widgets/layoutarray.h b/src/gui/widgets/layoutarray.h index 4658e8c75..63d0912d1 100644 --- a/src/gui/widgets/layoutarray.h +++ b/src/gui/widgets/layoutarray.h @@ -93,9 +93,12 @@ class LayoutArray final /** * Gets the position and size of a widget along a given axis */ - void align(int &restrict pos, int &restrict size, const int dim, + void align(int &restrict pos, + int &restrict size, + const int dim, LayoutCell const &restrict cell, - const int *restrict const sizes, const int sizeCount) const; + const int *restrict const sizes, + const int sizeCount) const A_NONNULL(6); /** * Ensures the private vectors are large enough. -- cgit v1.2.3-70-g09d2