From f09d8c8fd0d4f422ac50fe3c91eabcb0848bb118 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 17 Dec 2013 22:36:40 +0300 Subject: add restrict into editdialog. --- src/gui/windows/editdialog.cpp | 5 +++-- src/gui/windows/editdialog.h | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/gui/windows/editdialog.cpp b/src/gui/windows/editdialog.cpp index a4711784e..872ba83f5 100644 --- a/src/gui/windows/editdialog.cpp +++ b/src/gui/windows/editdialog.cpp @@ -28,8 +28,9 @@ #include "debug.h" -EditDialog::EditDialog(const std::string &title, const std::string &msg, - const std::string &eventOk, const int width, +EditDialog::EditDialog(const std::string &restrict title, + const std::string &restrict msg, + const std::string &restrict eventOk, const int width, Window *const parent, const bool modal): Window(title, modal, parent, "edit.xml"), gcn::ActionListener(), diff --git a/src/gui/windows/editdialog.h b/src/gui/windows/editdialog.h index d53cd431d..a8916e760 100644 --- a/src/gui/windows/editdialog.h +++ b/src/gui/windows/editdialog.h @@ -45,8 +45,9 @@ class EditDialog final : public Window, public gcn::ActionListener * * @see Window::Window */ - EditDialog(const std::string &title, const std::string &msg, - const std::string &eventOk = ACTION_EDIT_OK, + EditDialog(const std::string &restrict title, + const std::string &restrict msg, + const std::string &restrict eventOk = ACTION_EDIT_OK, const int width = 300, Window *const parent = nullptr, const bool modal = true); -- cgit v1.2.3-70-g09d2