diff options
Diffstat (limited to 'tests/dbus/stream-tube-handlers.cpp')
-rw-r--r-- | tests/dbus/stream-tube-handlers.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/dbus/stream-tube-handlers.cpp b/tests/dbus/stream-tube-handlers.cpp index 6bb11d62..af39bf76 100644 --- a/tests/dbus/stream-tube-handlers.cpp +++ b/tests/dbus/stream-tube-handlers.cpp @@ -88,7 +88,7 @@ public: { } - virtual ~ChannelRequestAdaptor() + ~ChannelRequestAdaptor() override { } @@ -784,7 +784,7 @@ void TestStreamTubeHandlers::testRegistration() CookieGenerator() : serial(0) {} QVariantMap nextParameters(const AccountPtr &account, const OutgoingStreamTubeChannelPtr &tube, - const ChannelRequestHints &hints) + const ChannelRequestHints &hints) override { QVariantMap params; params.insert(QLatin1String("cookie-y"), @@ -1342,7 +1342,7 @@ void TestStreamTubeHandlers::testClientBasicTcp() FakeGenerator() : port(0) {} QPair<QHostAddress, quint16> nextSourceAddress(const AccountPtr &account, - const IncomingStreamTubeChannelPtr &tube) { + const IncomingStreamTubeChannelPtr &tube) override { return qMakePair(QHostAddress(QHostAddress::LocalHost), ++port); } @@ -1436,7 +1436,7 @@ void TestStreamTubeHandlers::testClientTcpGeneratorIgnore() { public: QPair<QHostAddress, quint16> nextSourceAddress(const AccountPtr &account, - const IncomingStreamTubeChannelPtr &tube) { + const IncomingStreamTubeChannelPtr &tube) override { return qMakePair(QHostAddress(QHostAddress::LocalHost), quint16(1111)); } } gen; |