Fix warning about inconsistent use of override keyword
qwaylandshmbackingstore_p.h:93:19: warning: 'paintDevice' overrides a member function but is not marked 'override' [-Winconsistent-missing- override Change-Id: I27b55fdf514247549455fffd14b1791d4dd6b6b3 Reviewed-by: Johan Helsing <johan.helsing@qt.io>
This commit is contained in:
parent
e9b87c0b1c
commit
240fb37484
@ -90,7 +90,7 @@ public:
|
||||
QWaylandShmBackingStore(QWindow *window);
|
||||
~QWaylandShmBackingStore();
|
||||
|
||||
QPaintDevice *paintDevice();
|
||||
QPaintDevice *paintDevice() override;
|
||||
void flush(QWindow *window, const QRegion ®ion, const QPoint &offset) override;
|
||||
void resize(const QSize &size, const QRegion &staticContents) override;
|
||||
void resize(const QSize &size);
|
||||
|
Loading…
x
Reference in New Issue
Block a user