diff options
author | Frederik Gladhorn <frederik.gladhorn@digia.com> | 2014-01-18 02:33:18 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-01-18 10:29:47 +0100 |
commit | abf5f99d1808bbf18b8ebbe2b9468d409fe77158 (patch) | |
tree | 72164d62b5dd25a3d1fa87c3b07b6724ffc075cd /src/websockets/qwebsocketcorsauthenticator.h | |
parent | f09baa9295db1327d99ab98e7ccd4f6296056d1c (diff) | |
download | qtwebsockets-abf5f99d1808bbf18b8ebbe2b9468d409fe77158.tar.gz |
Make single argument ctor explicit
Change-Id: Idf4933cb9caa0e33ee72948390d2b6d98c241fc5
Reviewed-by: Kurt Pattyn <pattyn.kurt@gmail.com>
Diffstat (limited to 'src/websockets/qwebsocketcorsauthenticator.h')
-rw-r--r-- | src/websockets/qwebsocketcorsauthenticator.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/websockets/qwebsocketcorsauthenticator.h b/src/websockets/qwebsocketcorsauthenticator.h index 8816039..9816deb 100644 --- a/src/websockets/qwebsocketcorsauthenticator.h +++ b/src/websockets/qwebsocketcorsauthenticator.h @@ -53,9 +53,9 @@ class Q_WEBSOCKETS_EXPORT QWebSocketCorsAuthenticator Q_DECLARE_PRIVATE(QWebSocketCorsAuthenticator) public: - QWebSocketCorsAuthenticator(const QString &origin); + explicit QWebSocketCorsAuthenticator(const QString &origin); ~QWebSocketCorsAuthenticator(); - QWebSocketCorsAuthenticator(const QWebSocketCorsAuthenticator &other); + explicit QWebSocketCorsAuthenticator(const QWebSocketCorsAuthenticator &other); #ifdef Q_COMPILER_RVALUE_REFS QWebSocketCorsAuthenticator(QWebSocketCorsAuthenticator &&other); |