summaryrefslogtreecommitdiff
path: root/src/gui/widgets
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-10-18 18:49:00 +0300
committerAndrei Karas <akaras@inbox.ru>2013-10-19 15:12:21 +0300
commit4f66a22a69e7b41db9b9094f08e686faea6abf93 (patch)
treea8376b2eaf676f926df790295691a535540e5bd6 /src/gui/widgets
parent8b3f4be6a5a38870516ee11e47d251fc3e3a5d4a (diff)
downloadManaVerse-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')
-rw-r--r--src/gui/widgets/passwordfield.h4
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)