summaryrefslogtreecommitdiff
path: root/src/websockets/qwebsocketserver.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/websockets/qwebsocketserver.h')
-rw-r--r--src/websockets/qwebsocketserver.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/websockets/qwebsocketserver.h b/src/websockets/qwebsocketserver.h
index 47113e4..511a55b 100644
--- a/src/websockets/qwebsocketserver.h
+++ b/src/websockets/qwebsocketserver.h
@@ -69,9 +69,9 @@ class Q_WEBSOCKETS_EXPORT QWebSocketServer : public QObject
public:
enum SslMode {
#ifndef QT_NO_SSL
- SecureMode,
+ SecureMode = 0,
#endif
- NonSecureMode
+ NonSecureMode = 1
};
explicit QWebSocketServer(const QString &serverName, SslMode secureMode,