summaryrefslogtreecommitdiffstats
path: root/src/compositor/wayland_wrapper/qwlclientbuffer_p.h
diff options
context:
space:
mode:
authorJohan Klokkhammer Helsing <johan.helsing@qt.io>2017-01-12 13:25:48 +0100
committerJohan Helsing <johan.helsing@qt.io>2017-01-23 16:20:03 +0000
commitf72d63866d3f5820865fcd309b649dc9932518ee (patch)
tree675610cbbc8a88f0197c351e754e7892e4eb7871 /src/compositor/wayland_wrapper/qwlclientbuffer_p.h
parent76b0fa5ca41df2528ba52fa7601c4bc89e60c03b (diff)
Replace all occurrences of Q_DECL_OVERRIDE with override
Change-Id: I16b7b23efe944b49d1fcc9e7588cdb0a991cebd1 Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>
Diffstat (limited to 'src/compositor/wayland_wrapper/qwlclientbuffer_p.h')
-rw-r--r--src/compositor/wayland_wrapper/qwlclientbuffer_p.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/compositor/wayland_wrapper/qwlclientbuffer_p.h b/src/compositor/wayland_wrapper/qwlclientbuffer_p.h
index dafb3c5e5..efb2eb18b 100644
--- a/src/compositor/wayland_wrapper/qwlclientbuffer_p.h
+++ b/src/compositor/wayland_wrapper/qwlclientbuffer_p.h
@@ -128,12 +128,12 @@ class Q_WAYLAND_COMPOSITOR_EXPORT SharedMemoryBuffer : public ClientBuffer
public:
SharedMemoryBuffer(struct ::wl_resource *bufferResource);
- QSize size() const Q_DECL_OVERRIDE;
- QWaylandSurface::Origin origin() const Q_DECL_OVERRIDE;
+ QSize size() const override;
+ QWaylandSurface::Origin origin() const override;
QImage image() const;
#if QT_CONFIG(opengl)
- QOpenGLTexture *toOpenGlTexture(int plane = 0) Q_DECL_OVERRIDE;
+ QOpenGLTexture *toOpenGlTexture(int plane = 0) override;
private:
QOpenGLTexture *m_shmTexture;