summaryrefslogtreecommitdiff
path: root/src/gui/widgets/tabbedarea.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-12-18 13:26:57 +0300
committerAndrei Karas <akaras@inbox.ru>2013-12-18 13:26:57 +0300
commit860e9114723f279ee1f79ed04d308d7af5fbd887 (patch)
tree530038d64b5116767ffdad5940685ca9e24e56ff /src/gui/widgets/tabbedarea.h
parentff3f52136772eccf65cd031f7777e2b352946d5d (diff)
downloadManaVerse-860e9114723f279ee1f79ed04d308d7af5fbd887.tar.gz
ManaVerse-860e9114723f279ee1f79ed04d308d7af5fbd887.tar.bz2
ManaVerse-860e9114723f279ee1f79ed04d308d7af5fbd887.tar.xz
ManaVerse-860e9114723f279ee1f79ed04d308d7af5fbd887.zip
fix compilation with some flags after adding restrict keywords.
Diffstat (limited to 'src/gui/widgets/tabbedarea.h')
-rw-r--r--src/gui/widgets/tabbedarea.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gui/widgets/tabbedarea.h b/src/gui/widgets/tabbedarea.h
index 6584747c6..449d8c51a 100644
--- a/src/gui/widgets/tabbedarea.h
+++ b/src/gui/widgets/tabbedarea.h
@@ -94,8 +94,7 @@ 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 *restrict const tab,
- gcn::Widget *restrict const widget);
+ void addTab(Tab *const tab, gcn::Widget *const widget);
void addTab(const std::string &caption, gcn::Widget *const widget);