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>
This commit is contained in:
parent
faab8f603d
commit
f2e5621451
@ -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(); }
|
||||
|
Loading…
x
Reference in New Issue
Block a user