Mark some constructor as explicit.

This commit is contained in:
Felix Geyer 2012-01-11 19:18:35 +01:00
parent 6422dee4fc
commit 279585fff4
10 changed files with 13 additions and 11 deletions

View file

@ -26,7 +26,7 @@ class PasswordKey : public Key
{
public:
PasswordKey();
PasswordKey(const QString& password);
explicit PasswordKey(const QString& password);
QByteArray rawKey() const;
void setPassword(const QString& password);
PasswordKey* clone() const;