summaryrefslogtreecommitdiffstats
path: root/src/hardwareintegration/compositor/shm-emulation-server/shmserverbufferintegration.h
diff options
context:
space:
mode:
authorJohan Klokkhammer Helsing <johan.helsing@qt.io>2018-02-20 14:00:19 +0100
committerJohan Helsing <johan.helsing@qt.io>2018-02-28 14:25:27 +0000
commitced351295b67f0c8ef72802a11d2a0f2381b46e8 (patch)
treebdd563c8d0f731f3cb949494ee07e87a998aa7e5 /src/hardwareintegration/compositor/shm-emulation-server/shmserverbufferintegration.h
parent1fab644753443a525475740fc23172dedaa70d0e (diff)
Use override when applicable
Applied automatic fixes using clang-tidy's modernize-use-override. This adds the "override" keyword where it's possible and also removes the "virtual" keyword when redundant. Change-Id: I899950e5cf8782785d30a245a9c69c1720905d50 Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>
Diffstat (limited to 'src/hardwareintegration/compositor/shm-emulation-server/shmserverbufferintegration.h')
-rw-r--r--src/hardwareintegration/compositor/shm-emulation-server/shmserverbufferintegration.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/hardwareintegration/compositor/shm-emulation-server/shmserverbufferintegration.h b/src/hardwareintegration/compositor/shm-emulation-server/shmserverbufferintegration.h
index 850ad040a..77e4353ca 100644
--- a/src/hardwareintegration/compositor/shm-emulation-server/shmserverbufferintegration.h
+++ b/src/hardwareintegration/compositor/shm-emulation-server/shmserverbufferintegration.h
@@ -61,7 +61,7 @@ class ShmServerBuffer : public QtWayland::ServerBuffer, public QtWaylandServer::
{
public:
ShmServerBuffer(ShmServerBufferIntegration *integration, const QImage &qimage, QtWayland::ServerBuffer::Format format);
- ~ShmServerBuffer();
+ ~ShmServerBuffer() override;
struct ::wl_resource *resourceForClient(struct ::wl_client *) override;
QOpenGLTexture *toOpenGlTexture() override;
@@ -83,7 +83,7 @@ class ShmServerBufferIntegration :
{
public:
ShmServerBufferIntegration();
- ~ShmServerBufferIntegration();
+ ~ShmServerBufferIntegration() override;
void initializeHardware(QWaylandCompositor *) override;