From 0ba77bd91da2acb4fbe2ac8aff58c0ac3f43786c Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 17 Dec 2013 20:44:37 +0300 Subject: add restrict into tabbedarea. --- src/gui/widgets/tabbedarea.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/gui/widgets/tabbedarea.h') diff --git a/src/gui/widgets/tabbedarea.h b/src/gui/widgets/tabbedarea.h index 449d8c51a..6584747c6 100644 --- a/src/gui/widgets/tabbedarea.h +++ b/src/gui/widgets/tabbedarea.h @@ -94,7 +94,8 @@ class TabbedArea final : public Widget2, * @param tab The tab widget for the tab. * @param widget The widget to view when the tab is selected. */ - void addTab(Tab *const tab, gcn::Widget *const widget); + void addTab(Tab *restrict const tab, + gcn::Widget *restrict const widget); void addTab(const std::string &caption, gcn::Widget *const widget); -- cgit v1.2.3-60-g2f50