summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorJesus Fernandez <jesus.fernandez@qt.io>2018-08-10 09:31:56 +0200
committerJesus Fernandez <Jesus.Fernandez@qt.io>2018-08-10 07:49:23 +0000
commit6c58fa8980a2c783d9eca34aa482b74ac60a940a (patch)
treea3b266ced2cfa8d5653b5cf903009c5489d9b57a /examples
parent84796004f5222f89ab0b51b5f4b38c957687bcbf (diff)
downloadqtwebsockets-6c58fa8980a2c783d9eca34aa482b74ac60a940a.tar.gz
Use override keyword
Change-Id: I120dcb26eb451930d02e452cc47262eda44cc77c Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
Diffstat (limited to 'examples')
-rw-r--r--examples/websockets/simplechat/chatserver.h2
-rw-r--r--examples/websockets/sslechoserver/sslechoserver.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/websockets/simplechat/chatserver.h b/examples/websockets/simplechat/chatserver.h
index 4a8285b..5e2a094 100644
--- a/examples/websockets/simplechat/chatserver.h
+++ b/examples/websockets/simplechat/chatserver.h
@@ -62,7 +62,7 @@ class ChatServer : public QObject
Q_OBJECT
public:
explicit ChatServer(quint16 port, QObject *parent = nullptr);
- virtual ~ChatServer();
+ ~ChatServer() override;
private slots:
void onNewConnection();
diff --git a/examples/websockets/sslechoserver/sslechoserver.h b/examples/websockets/sslechoserver/sslechoserver.h
index 8064476..58d1d67 100644
--- a/examples/websockets/sslechoserver/sslechoserver.h
+++ b/examples/websockets/sslechoserver/sslechoserver.h
@@ -63,7 +63,7 @@ class SslEchoServer : public QObject
Q_OBJECT
public:
explicit SslEchoServer(quint16 port, QObject *parent = nullptr);
- virtual ~SslEchoServer();
+ ~SslEchoServer() override;
private Q_SLOTS:
void onNewConnection();