diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-10-18 18:49:00 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-10-19 15:12:21 +0300 |
commit | 4f66a22a69e7b41db9b9094f08e686faea6abf93 (patch) | |
tree | a8376b2eaf676f926df790295691a535540e5bd6 /src/gui/widgets/passwordfield.h | |
parent | 8b3f4be6a5a38870516ee11e47d251fc3e3a5d4a (diff) | |
download | manaverse-4f66a22a69e7b41db9b9094f08e686faea6abf93.tar.gz manaverse-4f66a22a69e7b41db9b9094f08e686faea6abf93.tar.bz2 manaverse-4f66a22a69e7b41db9b9094f08e686faea6abf93.tar.xz manaverse-4f66a22a69e7b41db9b9094f08e686faea6abf93.zip |
change passwordfield constructor into explicit.
Diffstat (limited to 'src/gui/widgets/passwordfield.h')
-rw-r--r-- | src/gui/widgets/passwordfield.h | 4 |
1 files changed, 2 insertions, 2 deletions
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) |