diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-12-17 19:59:54 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-12-17 19:59:54 +0300 |
commit | 1d49a50162a5f36b8ca0bec02e35304c9fad2e44 (patch) | |
tree | ad06fc18c5b9bda5c18905c35ad95366dae117a1 /src | |
parent | 093a02552e0c8fe10c445c784a1766ef88a00d21 (diff) | |
download | manaverse-1d49a50162a5f36b8ca0bec02e35304c9fad2e44.tar.gz manaverse-1d49a50162a5f36b8ca0bec02e35304c9fad2e44.tar.bz2 manaverse-1d49a50162a5f36b8ca0bec02e35304c9fad2e44.tar.xz manaverse-1d49a50162a5f36b8ca0bec02e35304c9fad2e44.zip |
add restrict into guitable.
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/widgets/guitable.cpp | 9 |
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), |