diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2017-04-01 21:08:38 -0700 |
---|---|---|
committer | Thiago Macieira <thiago.macieira@intel.com> | 2017-04-04 06:53:23 +0000 |
commit | c26f8dbd5c5ff15167e90db529845091705cbe46 (patch) | |
tree | 8ae9e9fa0a9bdf9b1d3db54db8746a3f33d9dd12 /src/hardwareintegration/compositor/xcomposite-egl/xcompositeeglintegration.h | |
parent | cd6de5d1f99f4c72476fda0812fa4f0fc73fdada (diff) |
Fix warning about inconsistent use of override keywordv5.9.0-beta2
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>
Diffstat (limited to 'src/hardwareintegration/compositor/xcomposite-egl/xcompositeeglintegration.h')
-rw-r--r-- | src/hardwareintegration/compositor/xcomposite-egl/xcompositeeglintegration.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/hardwareintegration/compositor/xcomposite-egl/xcompositeeglintegration.h b/src/hardwareintegration/compositor/xcomposite-egl/xcompositeeglintegration.h index fb869b2e7..55e02abe7 100644 --- a/src/hardwareintegration/compositor/xcomposite-egl/xcompositeeglintegration.h +++ b/src/hardwareintegration/compositor/xcomposite-egl/xcompositeeglintegration.h @@ -67,8 +67,8 @@ class XCompositeEglClientBuffer : public QtWayland::ClientBuffer public: XCompositeEglClientBuffer(XCompositeEglClientBufferIntegration *integration, wl_resource *bufferResource); - QSize size() const; - QWaylandSurface::Origin origin() const; + QSize size() const override; + QWaylandSurface::Origin origin() const override; QOpenGLTexture *toOpenGlTexture(int plane) override; QWaylandBufferRef::BufferFormatEgl bufferFormatEgl() const override { return QWaylandBufferRef::BufferFormatEgl_RGBA; |