From 860e9114723f279ee1f79ed04d308d7af5fbd887 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 18 Dec 2013 13:26:57 +0300 Subject: fix compilation with some flags after adding restrict keywords. --- src/gui/widgets/tabbedarea.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gui/widgets/tabbedarea.cpp') diff --git a/src/gui/widgets/tabbedarea.cpp b/src/gui/widgets/tabbedarea.cpp index 10150654e..9526c58bd 100644 --- a/src/gui/widgets/tabbedarea.cpp +++ b/src/gui/widgets/tabbedarea.cpp @@ -177,8 +177,8 @@ gcn::Widget *TabbedArea::getCurrentWidget() const return nullptr; } -void TabbedArea::addTab(Tab *restrict const tab, - gcn::Widget *restrict const widget) +void TabbedArea::addTab(Tab *const tab, + gcn::Widget *const widget) { if (!tab || !widget) return; -- cgit v1.2.3-70-g09d2