summaryrefslogtreecommitdiff
path: root/src/gui/widgets
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-12-17 19:59:54 +0300
committerAndrei Karas <akaras@inbox.ru>2013-12-17 19:59:54 +0300
commit1d49a50162a5f36b8ca0bec02e35304c9fad2e44 (patch)
treead06fc18c5b9bda5c18905c35ad95366dae117a1 /src/gui/widgets
parent093a02552e0c8fe10c445c784a1766ef88a00d21 (diff)
downloadmanaplus-1d49a50162a5f36b8ca0bec02e35304c9fad2e44.tar.gz
manaplus-1d49a50162a5f36b8ca0bec02e35304c9fad2e44.tar.bz2
manaplus-1d49a50162a5f36b8ca0bec02e35304c9fad2e44.tar.xz
manaplus-1d49a50162a5f36b8ca0bec02e35304c9fad2e44.zip
add restrict into guitable.
Diffstat (limited to 'src/gui/widgets')
-rw-r--r--src/gui/widgets/guitable.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/gui/widgets/guitable.cpp b/src/gui/widgets/guitable.cpp
index 090588f90..c18e6decf 100644
--- a/src/gui/widgets/guitable.cpp
+++ b/src/gui/widgets/guitable.cpp
@@ -40,7 +40,8 @@ float GuiTable::mAlpha = 1.0;
class GuiTableActionListener final : public gcn::ActionListener
{
public:
- GuiTableActionListener(GuiTable *_table, gcn::Widget *_widget,
+ GuiTableActionListener(GuiTable *restrict _table,
+ gcn::Widget *restrict _widget,
int _row, int _column);
A_DELETE_COPY(GuiTableActionListener)
@@ -57,9 +58,9 @@ protected:
};
-GuiTableActionListener::GuiTableActionListener(GuiTable *table,
- gcn::Widget *widget, int row,
- int column) :
+GuiTableActionListener::GuiTableActionListener(GuiTable *restrict table,
+ gcn::Widget *restrict widget,
+ int row, int column) :
gcn::ActionListener(),
mTable(table),
mRow(row),