diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-10-18 15:03:46 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-10-19 15:12:20 +0300 |
commit | 77e7841e0f8076bc4e536ade9078d8194483b71b (patch) | |
tree | 8c9fda062aed989f2eccad055ee480a939cacbd6 /src | |
parent | 28aff0f2fd8789b01a61ca19f172962a1ad32a1d (diff) | |
download | mv-77e7841e0f8076bc4e536ade9078d8194483b71b.tar.gz mv-77e7841e0f8076bc4e536ade9078d8194483b71b.tar.bz2 mv-77e7841e0f8076bc4e536ade9078d8194483b71b.tar.xz mv-77e7841e0f8076bc4e536ade9078d8194483b71b.zip |
change inttextfield constructor to explicit.
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/widgets/inttextfield.h | 6 |
1 files changed, 3 insertions, 3 deletions
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) |