summaryrefslogtreecommitdiff
path: root/src/gui/windows
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/windows')
-rw-r--r--src/gui/windows/confirmdialog.cpp6
-rw-r--r--src/gui/windows/confirmdialog.h5
2 files changed, 7 insertions, 4 deletions
diff --git a/src/gui/windows/confirmdialog.cpp b/src/gui/windows/confirmdialog.cpp
index 863cb1cf3..57be72105 100644
--- a/src/gui/windows/confirmdialog.cpp
+++ b/src/gui/windows/confirmdialog.cpp
@@ -33,8 +33,10 @@
#include "debug.h"
-ConfirmDialog::ConfirmDialog(const std::string &title, const std::string &msg,
- const std::string &soundEvent, const bool ignore,
+ConfirmDialog::ConfirmDialog(const std::string &restrict title,
+ const std::string &restrict msg,
+ const std::string &restrict soundEvent,
+ const bool ignore,
const bool modal, Window *const parent):
Window(title, modal, parent, "confirm.xml"),
gcn::ActionListener(),
diff --git a/src/gui/windows/confirmdialog.h b/src/gui/windows/confirmdialog.h
index b06054e0a..c864b1bb8 100644
--- a/src/gui/windows/confirmdialog.h
+++ b/src/gui/windows/confirmdialog.h
@@ -46,8 +46,9 @@ class ConfirmDialog : public Window, public gcn::ActionListener
*
* @see Window::Window
*/
- ConfirmDialog(const std::string &title, const std::string &msg,
- const std::string &soundEvent = SOUND_REQUEST,
+ ConfirmDialog(const std::string &restrict title,
+ const std::string &restrict msg,
+ const std::string &restrict soundEvent = SOUND_REQUEST,
const bool ignore = false, const bool modal = false,
Window *const parent = nullptr);