summaryrefslogtreecommitdiff
path: root/src/gui/windows
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-12-17 22:48:21 +0300
committerAndrei Karas <akaras@inbox.ru>2013-12-17 22:48:21 +0300
commitc8ec9f8058e21bfcf40e1cb19565e7a1cf67e9d4 (patch)
tree439f0f3816143676cac1cdb16c4645c333043675 /src/gui/windows
parent5bc402bb82b8cd958e138a0802b96c7532e4fb04 (diff)
downloadmanaplus-c8ec9f8058e21bfcf40e1cb19565e7a1cf67e9d4.tar.gz
manaplus-c8ec9f8058e21bfcf40e1cb19565e7a1cf67e9d4.tar.bz2
manaplus-c8ec9f8058e21bfcf40e1cb19565e7a1cf67e9d4.tar.xz
manaplus-c8ec9f8058e21bfcf40e1cb19565e7a1cf67e9d4.zip
add restrict into okdialog.
Diffstat (limited to 'src/gui/windows')
-rw-r--r--src/gui/windows/okdialog.cpp3
-rw-r--r--src/gui/windows/okdialog.h3
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);