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.cpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'src/gui/widgets/textfield.cpp') diff --git a/src/gui/widgets/textfield.cpp b/src/gui/widgets/textfield.cpp index 8d15108b5..f176b08fa 100644 --- a/src/gui/widgets/textfield.cpp +++ b/src/gui/widgets/textfield.cpp @@ -53,10 +53,11 @@ int TextField::instances = 0; float TextField::mAlpha = 1.0; ImageRect TextField::skin; -TextField::TextField(const Widget2 *const widget, - const std::string &text, const bool loseFocusOnTab, - gcn::ActionListener *const listener, - const std::string &eventId, +TextField::TextField(const Widget2 *restrict const widget, + const std::string &restrict text, + const bool loseFocusOnTab, + gcn::ActionListener *restrict const listener, + const std::string &restrict eventId, const bool sendAlwaysEvents): gcn::TextField(text), gcn::FocusListener(), -- cgit v1.2.3-60-g2f50