summaryrefslogtreecommitdiff
path: root/src/gui/windows/okdialog.h
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/okdialog.h
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/okdialog.h')
-rw-r--r--src/gui/windows/okdialog.h3
1 files changed, 2 insertions, 1 deletions
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);