summaryrefslogtreecommitdiff
path: root/src/gui/widgets/tabbedarea.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/tabbedarea.cpp')
-rw-r--r--src/gui/widgets/tabbedarea.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/widgets/tabbedarea.cpp b/src/gui/widgets/tabbedarea.cpp
index 6a579d792..10150654e 100644
--- a/src/gui/widgets/tabbedarea.cpp
+++ b/src/gui/widgets/tabbedarea.cpp
@@ -177,7 +177,8 @@ gcn::Widget *TabbedArea::getCurrentWidget() const
return nullptr;
}
-void TabbedArea::addTab(Tab *const tab, gcn::Widget *const widget)
+void TabbedArea::addTab(Tab *restrict const tab,
+ gcn::Widget *restrict const widget)
{
if (!tab || !widget)
return;