aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrederik Gladhorn <frederik.gladhorn@digia.com>2014-01-18 02:33:18 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-01-18 10:29:47 +0100
commitabf5f99d1808bbf18b8ebbe2b9468d409fe77158 (patch)
tree72164d62b5dd25a3d1fa87c3b07b6724ffc075cd
parentf09baa9295db1327d99ab98e7ccd4f6296056d1c (diff)
Make single argument ctor explicit
Change-Id: Idf4933cb9caa0e33ee72948390d2b6d98c241fc5 Reviewed-by: Kurt Pattyn <pattyn.kurt@gmail.com>
-rw-r--r--src/websockets/qwebsocketcorsauthenticator.h4
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);