summaryrefslogtreecommitdiffstats
path: root/tests/benchmarks/network/access/qnetworkreply
diff options
context:
space:
mode:
authorVolker Hilsheimer <volker.hilsheimer@qt.io>2021-02-03 11:46:20 +0100
committerVolker Hilsheimer <volker.hilsheimer@qt.io>2021-02-03 23:46:25 +0100
commitf2e56214512f94a9e679a3380ef3f778a20d74aa (patch)
treee1a9100dba2d668f336688897c7b881012d6a444 /tests/benchmarks/network/access/qnetworkreply
parentfaab8f603d2cc34c072ffd0822af68dafcfd686a (diff)
Fix compiler warning in QNetworkReply test
Clang warning: 'isSequential' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] Change-Id: I1a7c5516d2656469eab556e7f9d310192510b99b Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
Diffstat (limited to 'tests/benchmarks/network/access/qnetworkreply')
-rw-r--r--tests/benchmarks/network/access/qnetworkreply/tst_qnetworkreply.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/benchmarks/network/access/qnetworkreply/tst_qnetworkreply.cpp b/tests/benchmarks/network/access/qnetworkreply/tst_qnetworkreply.cpp
index 5e590c7d13..c548811c64 100644
--- a/tests/benchmarks/network/access/qnetworkreply/tst_qnetworkreply.cpp
+++ b/tests/benchmarks/network/access/qnetworkreply/tst_qnetworkreply.cpp
@@ -208,8 +208,8 @@ public:
DataGenerator() : state(Idle)
{ open(ReadOnly); }
- virtual bool isSequential() const { return true; }
- virtual qint64 bytesAvailable() const { return state == Started ? 1024*1024 : 0; }
+ bool isSequential() const override { return true; }
+ qint64 bytesAvailable() const override { return state == Started ? 1024*1024 : 0; }
public slots:
void start() { state = Started; emit readyRead(); }