summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-12-17 21:46:43 +0300
committerAndrei Karas <akaras@inbox.ru>2013-12-17 21:46:43 +0300
commitafa68ef148113646a5dbf75f5a233a76b98df4d4 (patch)
tree3f59299eb5833faa20a94edebe0187ee114942b7 /src
parent47a9f98c414b029ec6772a07597950b9ec19c6f8 (diff)
downloadplus-afa68ef148113646a5dbf75f5a233a76b98df4d4.tar.gz
plus-afa68ef148113646a5dbf75f5a233a76b98df4d4.tar.bz2
plus-afa68ef148113646a5dbf75f5a233a76b98df4d4.tar.xz
plus-afa68ef148113646a5dbf75f5a233a76b98df4d4.zip
add restrict into confirmdialog.
Diffstat (limited to 'src')
-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);