summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-12-17 22:36:40 +0300
committerAndrei Karas <akaras@inbox.ru>2013-12-17 22:36:40 +0300
commitf09d8c8fd0d4f422ac50fe3c91eabcb0848bb118 (patch)
tree87aef9aa7f3d451482901bc94e93cae1c20b3afa
parentafa68ef148113646a5dbf75f5a233a76b98df4d4 (diff)
downloadmanaplus-f09d8c8fd0d4f422ac50fe3c91eabcb0848bb118.tar.gz
manaplus-f09d8c8fd0d4f422ac50fe3c91eabcb0848bb118.tar.bz2
manaplus-f09d8c8fd0d4f422ac50fe3c91eabcb0848bb118.tar.xz
manaplus-f09d8c8fd0d4f422ac50fe3c91eabcb0848bb118.zip
add restrict into editdialog.
-rw-r--r--src/gui/windows/editdialog.cpp5
-rw-r--r--src/gui/windows/editdialog.h5
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);