summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-12-17 23:16:22 +0300
committerAndrei Karas <akaras@inbox.ru>2013-12-17 23:16:22 +0300
commite6e139910e6773f68b8a2818a0529cd5ca37f31a (patch)
tree1c0915256555b18f4fd69afe5896296ea6a2736a /src/gui
parent5704f4887327b5415300c066ec5296c9dd110070 (diff)
downloadplus-e6e139910e6773f68b8a2818a0529cd5ca37f31a.tar.gz
plus-e6e139910e6773f68b8a2818a0529cd5ca37f31a.tar.bz2
plus-e6e139910e6773f68b8a2818a0529cd5ca37f31a.tar.xz
plus-e6e139910e6773f68b8a2818a0529cd5ca37f31a.zip
add restrict into textdialog.
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/windows/textdialog.cpp6
-rw-r--r--src/gui/windows/textdialog.h6
2 files changed, 8 insertions, 4 deletions
diff --git a/src/gui/windows/textdialog.cpp b/src/gui/windows/textdialog.cpp
index 92cfa46d2..51bd46d82 100644
--- a/src/gui/windows/textdialog.cpp
+++ b/src/gui/windows/textdialog.cpp
@@ -36,8 +36,10 @@
int TextDialog::instances = 0;
-TextDialog::TextDialog(const std::string &title, const std::string &msg,
- Window *const parent, const bool isPassword):
+TextDialog::TextDialog(const std::string &restrict title,
+ const std::string &restrict msg,
+ Window *const parent,
+ const bool isPassword):
Window(title, true, parent, "textdialog.xml"),
gcn::ActionListener(),
mTextField(nullptr),
diff --git a/src/gui/windows/textdialog.h b/src/gui/windows/textdialog.h
index a5bba14a0..6c18cace2 100644
--- a/src/gui/windows/textdialog.h
+++ b/src/gui/windows/textdialog.h
@@ -44,8 +44,10 @@ public:
*
* @see Window::Window
*/
- TextDialog(const std::string &title, const std::string &msg,
- Window *const parent = nullptr, const bool isPassword = false);
+ TextDialog(const std::string &restrict title,
+ const std::string &restrict msg,
+ Window *const parent = nullptr,
+ const bool isPassword = false);
A_DELETE_COPY(TextDialog)