summaryrefslogtreecommitdiff
path: root/src/gui/widgets/layoutarray.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/layoutarray.h')
-rw-r--r--src/gui/widgets/layoutarray.h7
1 files changed, 5 insertions, 2 deletions
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.