From 850b3b515d7b35cfec8708190f2f6631cd4faae4 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 17 Dec 2013 20:49:19 +0300 Subject: add restrict into textfield. --- src/gui/widgets/textfield.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'src/gui/widgets/textfield.h') diff --git a/src/gui/widgets/textfield.h b/src/gui/widgets/textfield.h index 3942d610a..6ee427147 100644 --- a/src/gui/widgets/textfield.h +++ b/src/gui/widgets/textfield.h @@ -45,11 +45,12 @@ class TextField : public gcn::TextField, /** * Constructor, initializes the text field with the given string. */ - explicit TextField(const Widget2 *const widget, - const std::string &text = "", + explicit TextField(const Widget2 *restrict const widget, + const std::string &restrict text = "", const bool loseFocusOnTab = true, - gcn::ActionListener *const listener = nullptr, - const std::string &eventId = "", + gcn::ActionListener *restrict + const listener = nullptr, + const std::string &restrict eventId = "", const bool sendAlwaysEvents = false); A_DELETE_COPY(TextField) -- cgit v1.2.3-70-g09d2