summaryrefslogtreecommitdiff
path: root/src/gui/widgets/tabbedarea.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-12-17 20:44:37 +0300
committerAndrei Karas <akaras@inbox.ru>2013-12-17 20:44:37 +0300
commit0ba77bd91da2acb4fbe2ac8aff58c0ac3f43786c (patch)
tree041e6c8624d4b6f5bef0b698a506f79321f55b2d /src/gui/widgets/tabbedarea.h
parent22f12b5d47cf35cf4196156febc68d6eb78ef3f2 (diff)
downloadmanaverse-0ba77bd91da2acb4fbe2ac8aff58c0ac3f43786c.tar.gz
manaverse-0ba77bd91da2acb4fbe2ac8aff58c0ac3f43786c.tar.bz2
manaverse-0ba77bd91da2acb4fbe2ac8aff58c0ac3f43786c.tar.xz
manaverse-0ba77bd91da2acb4fbe2ac8aff58c0ac3f43786c.zip
add restrict into tabbedarea.
Diffstat (limited to 'src/gui/widgets/tabbedarea.h')
-rw-r--r--src/gui/widgets/tabbedarea.h3
1 files changed, 2 insertions, 1 deletions
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);