SSH: Consistently use override in SshForwardTcpIpTunnel

Fixes warnings when building with clang.

Change-Id: I8775862e3ee4d717067f5cf42f9efe58e69845c7
Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
This commit is contained in:
Tobias Hunger
2016-05-24 11:37:01 +02:00
parent 28c94c6b19
commit ab8006913a

View File

@@ -45,14 +45,14 @@ class QSSH_EXPORT SshForwardedTcpIpTunnel : public QIODevice
public: public:
typedef QSharedPointer<SshForwardedTcpIpTunnel> Ptr; typedef QSharedPointer<SshForwardedTcpIpTunnel> Ptr;
~SshForwardedTcpIpTunnel(); ~SshForwardedTcpIpTunnel() override;
// QIODevice stuff // QIODevice stuff
bool atEnd() const; bool atEnd() const override;
qint64 bytesAvailable() const; qint64 bytesAvailable() const override;
bool canReadLine() const; bool canReadLine() const override;
void close(); void close() override;
bool isSequential() const { return true; } bool isSequential() const override { return true; }
signals: signals:
void error(const QString &reason); void error(const QString &reason);