From 4f66a22a69e7b41db9b9094f08e686faea6abf93 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 18 Oct 2013 18:49:00 +0300 Subject: change passwordfield constructor into explicit. --- src/gui/widgets/passwordfield.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gui/widgets/passwordfield.h') diff --git a/src/gui/widgets/passwordfield.h b/src/gui/widgets/passwordfield.h index d605d7d38..fdd88c6a6 100644 --- a/src/gui/widgets/passwordfield.h +++ b/src/gui/widgets/passwordfield.h @@ -36,8 +36,8 @@ class PasswordField final : public TextField /** * Constructor, initializes the password field with the given string. */ - PasswordField(const Widget2 *const widget, - const std::string &text = ""); + explicit PasswordField(const Widget2 *const widget, + const std::string &text = ""); A_DELETE_COPY(PasswordField) -- cgit v1.2.3-60-g2f50