summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);