From ab8006913a00ff1f2cdbc9080cbd91c4e3b0e6cb Mon Sep 17 00:00:00 2001 From: Tobias Hunger Date: Tue, 24 May 2016 11:37:01 +0200 Subject: [PATCH] SSH: Consistently use override in SshForwardTcpIpTunnel Fixes warnings when building with clang. Change-Id: I8775862e3ee4d717067f5cf42f9efe58e69845c7 Reviewed-by: Christian Kandeler --- src/libs/ssh/sshforwardedtcpiptunnel.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/libs/ssh/sshforwardedtcpiptunnel.h b/src/libs/ssh/sshforwardedtcpiptunnel.h index 0675ba4787d..cb33c30446a 100644 --- a/src/libs/ssh/sshforwardedtcpiptunnel.h +++ b/src/libs/ssh/sshforwardedtcpiptunnel.h @@ -45,14 +45,14 @@ class QSSH_EXPORT SshForwardedTcpIpTunnel : public QIODevice public: typedef QSharedPointer Ptr; - ~SshForwardedTcpIpTunnel(); + ~SshForwardedTcpIpTunnel() override; // QIODevice stuff - bool atEnd() const; - qint64 bytesAvailable() const; - bool canReadLine() const; - void close(); - bool isSequential() const { return true; } + bool atEnd() const override; + qint64 bytesAvailable() const override; + bool canReadLine() const override; + void close() override; + bool isSequential() const override { return true; } signals: void error(const QString &reason);