diff options
author | Marc Mutz <marc.mutz@kdab.com> | 2014-02-20 17:36:25 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-02-21 20:33:10 +0100 |
commit | d9ce5c35df99adefdf18c6e1e50afd7ab50eb441 (patch) | |
tree | 585a92868e8e74148ea2eca5d4bf9bb383813293 | |
parent | f41d5ec626d23423bc7d0cd66ba4566a3d00872d (diff) |
QSslCipher: make QString constructor explicit
A QSslCipher is not an equivalent representation of a QString, so
the constructor that takes a QString should be explicit.
Change-Id: I4c1329d1eebf91b212616eb5200450c0861d900f
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
-rw-r--r-- | src/network/ssl/qsslcipher.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/ssl/qsslcipher.h b/src/network/ssl/qsslcipher.h index 4cebffa7ae..f6ca033ede 100644 --- a/src/network/ssl/qsslcipher.h +++ b/src/network/ssl/qsslcipher.h @@ -57,7 +57,7 @@ class Q_NETWORK_EXPORT QSslCipher { public: QSslCipher(); - QSslCipher(const QString &name); + explicit QSslCipher(const QString &name); QSslCipher(const QString &name, QSsl::SslProtocol protocol); QSslCipher(const QSslCipher &other); ~QSslCipher(); |