diff options
Diffstat (limited to 'src/gui')
-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); |