diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-12-17 22:48:21 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-12-17 22:48:21 +0300 |
commit | c8ec9f8058e21bfcf40e1cb19565e7a1cf67e9d4 (patch) | |
tree | 439f0f3816143676cac1cdb16c4645c333043675 | |
parent | 5bc402bb82b8cd958e138a0802b96c7532e4fb04 (diff) | |
download | mv-c8ec9f8058e21bfcf40e1cb19565e7a1cf67e9d4.tar.gz mv-c8ec9f8058e21bfcf40e1cb19565e7a1cf67e9d4.tar.bz2 mv-c8ec9f8058e21bfcf40e1cb19565e7a1cf67e9d4.tar.xz mv-c8ec9f8058e21bfcf40e1cb19565e7a1cf67e9d4.zip |
add restrict into okdialog.
-rw-r--r-- | src/gui/windows/okdialog.cpp | 3 | ||||
-rw-r--r-- | src/gui/windows/okdialog.h | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/gui/windows/okdialog.cpp b/src/gui/windows/okdialog.cpp index 99c908563..93739ba26 100644 --- a/src/gui/windows/okdialog.cpp +++ b/src/gui/windows/okdialog.cpp @@ -34,7 +34,8 @@ #include "debug.h" -OkDialog::OkDialog(const std::string &title, const std::string &msg, +OkDialog::OkDialog(const std::string &restrict title, + const std::string &restrict msg, const int soundEvent, const bool modal, const bool showCenter, Window *const parent, const int minWidth) : diff --git a/src/gui/windows/okdialog.h b/src/gui/windows/okdialog.h index f12100b9b..c33400c34 100644 --- a/src/gui/windows/okdialog.h +++ b/src/gui/windows/okdialog.h @@ -52,7 +52,8 @@ class OkDialog final : public Window, * * @see Window::Window */ - OkDialog(const std::string &title, const std::string &msg, + OkDialog(const std::string &restrict title, + const std::string &restrict msg, const int soundEvent = DIALOG_OK, const bool modal = true, const bool showCenter = true, Window *const parent = nullptr, const int minWidth = 260); |