diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-12-17 21:46:43 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-12-17 21:46:43 +0300 |
commit | afa68ef148113646a5dbf75f5a233a76b98df4d4 (patch) | |
tree | 3f59299eb5833faa20a94edebe0187ee114942b7 /src/gui/windows | |
parent | 47a9f98c414b029ec6772a07597950b9ec19c6f8 (diff) | |
download | manaverse-afa68ef148113646a5dbf75f5a233a76b98df4d4.tar.gz manaverse-afa68ef148113646a5dbf75f5a233a76b98df4d4.tar.bz2 manaverse-afa68ef148113646a5dbf75f5a233a76b98df4d4.tar.xz manaverse-afa68ef148113646a5dbf75f5a233a76b98df4d4.zip |
add restrict into confirmdialog.
Diffstat (limited to 'src/gui/windows')
-rw-r--r-- | src/gui/windows/confirmdialog.cpp | 6 | ||||
-rw-r--r-- | src/gui/windows/confirmdialog.h | 5 |
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); |