summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-03-17 18:21:04 +0300
committerAndrei Karas <akaras@inbox.ru>2016-03-17 18:21:04 +0300
commitd6bee8c09f653d63bbf956055ccd7dae4e1c2577 (patch)
treeb852d9173454db3601e86a7e8ba2832f13f7b5c2
parentb8cefc6866eaaf336270907c13c377744e14b028 (diff)
downloadplus-d6bee8c09f653d63bbf956055ccd7dae4e1c2577.tar.gz
plus-d6bee8c09f653d63bbf956055ccd7dae4e1c2577.tar.bz2
plus-d6bee8c09f653d63bbf956055ccd7dae4e1c2577.tar.xz
plus-d6bee8c09f653d63bbf956055ccd7dae4e1c2577.zip
Remove false positive errors with nonnull attributes.
-rw-r--r--src/gui/widgets/guitable.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/widgets/guitable.h b/src/gui/widgets/guitable.h
index 27d54bdd2..35000ccff 100644
--- a/src/gui/widgets/guitable.h
+++ b/src/gui/widgets/guitable.h
@@ -54,7 +54,7 @@ class GuiTable final : public Widget,
public:
GuiTable(const Widget2 *const widget,
TableModel *const initial_model,
- const bool opacity = true) A_NONNULL(3);
+ const bool opacity = true);
A_DELETE_COPY(GuiTable)
@@ -68,7 +68,7 @@ class GuiTable final : public Widget,
* installed within the widget have been triggered. To be notified
* after such an update, add an action listener to the table instead.
*/
- void setModel(TableModel *const m) A_NONNULL(2);
+ void setModel(TableModel *const m);
/**
* Retrieves the active table model