From 77e7841e0f8076bc4e536ade9078d8194483b71b Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 18 Oct 2013 15:03:46 +0300 Subject: change inttextfield constructor to explicit. --- src/gui/widgets/inttextfield.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/gui/widgets/inttextfield.h') diff --git a/src/gui/widgets/inttextfield.h b/src/gui/widgets/inttextfield.h index 8919885e5..1d1980069 100644 --- a/src/gui/widgets/inttextfield.h +++ b/src/gui/widgets/inttextfield.h @@ -34,9 +34,9 @@ class IntTextField final : public TextField /** * Constructor, sets default value. */ - IntTextField(const Widget2 *const widget, const int def = 0, - const int min = 0, const int max = 0, - const bool enabled = true, const int width = 0); + explicit IntTextField(const Widget2 *const widget, const int def = 0, + const int min = 0, const int max = 0, + const bool enabled = true, const int width = 0); A_DELETE_COPY(IntTextField) -- cgit v1.2.3-70-g09d2