diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-12-17 22:36:40 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-12-17 22:36:40 +0300 |
commit | f09d8c8fd0d4f422ac50fe3c91eabcb0848bb118 (patch) | |
tree | 87aef9aa7f3d451482901bc94e93cae1c20b3afa /src/gui/windows | |
parent | afa68ef148113646a5dbf75f5a233a76b98df4d4 (diff) | |
download | plus-f09d8c8fd0d4f422ac50fe3c91eabcb0848bb118.tar.gz plus-f09d8c8fd0d4f422ac50fe3c91eabcb0848bb118.tar.bz2 plus-f09d8c8fd0d4f422ac50fe3c91eabcb0848bb118.tar.xz plus-f09d8c8fd0d4f422ac50fe3c91eabcb0848bb118.zip |
add restrict into editdialog.
Diffstat (limited to 'src/gui/windows')
-rw-r--r-- | src/gui/windows/editdialog.cpp | 5 | ||||
-rw-r--r-- | src/gui/windows/editdialog.h | 5 |
2 files changed, 6 insertions, 4 deletions
diff --git a/src/gui/windows/editdialog.cpp b/src/gui/windows/editdialog.cpp index a4711784e..872ba83f5 100644 --- a/src/gui/windows/editdialog.cpp +++ b/src/gui/windows/editdialog.cpp @@ -28,8 +28,9 @@ #include "debug.h" -EditDialog::EditDialog(const std::string &title, const std::string &msg, - const std::string &eventOk, const int width, +EditDialog::EditDialog(const std::string &restrict title, + const std::string &restrict msg, + const std::string &restrict eventOk, const int width, Window *const parent, const bool modal): Window(title, modal, parent, "edit.xml"), gcn::ActionListener(), diff --git a/src/gui/windows/editdialog.h b/src/gui/windows/editdialog.h index d53cd431d..a8916e760 100644 --- a/src/gui/windows/editdialog.h +++ b/src/gui/windows/editdialog.h @@ -45,8 +45,9 @@ class EditDialog final : public Window, public gcn::ActionListener * * @see Window::Window */ - EditDialog(const std::string &title, const std::string &msg, - const std::string &eventOk = ACTION_EDIT_OK, + EditDialog(const std::string &restrict title, + const std::string &restrict msg, + const std::string &restrict eventOk = ACTION_EDIT_OK, const int width = 300, Window *const parent = nullptr, const bool modal = true); |