summaryrefslogtreecommitdiffstats
path: root/src/compositor/hardware_integration
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/compositor/hardware_integration
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/compositor/hardware_integration')
-rw-r--r--src/compositor/hardware_integration/qwlclientbufferintegrationplugin_p.h2
-rw-r--r--src/compositor/hardware_integration/qwlhwintegration_p.h2
-rw-r--r--src/compositor/hardware_integration/qwlserverbufferintegrationplugin_p.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/compositor/hardware_integration/qwlclientbufferintegrationplugin_p.h b/src/compositor/hardware_integration/qwlclientbufferintegrationplugin_p.h
index edf4fea0a..e50d25193 100644
--- a/src/compositor/hardware_integration/qwlclientbufferintegrationplugin_p.h
+++ b/src/compositor/hardware_integration/qwlclientbufferintegrationplugin_p.h
@@ -69,7 +69,7 @@ class Q_WAYLAND_COMPOSITOR_EXPORT ClientBufferIntegrationPlugin : public QObject
Q_OBJECT
public:
explicit ClientBufferIntegrationPlugin(QObject *parent = nullptr);
- ~ClientBufferIntegrationPlugin();
+ ~ClientBufferIntegrationPlugin() override;
virtual ClientBufferIntegration *create(const QString &key, const QStringList &paramList) = 0;
};
diff --git a/src/compositor/hardware_integration/qwlhwintegration_p.h b/src/compositor/hardware_integration/qwlhwintegration_p.h
index 410dfd2fc..f3e486a4a 100644
--- a/src/compositor/hardware_integration/qwlhwintegration_p.h
+++ b/src/compositor/hardware_integration/qwlhwintegration_p.h
@@ -72,7 +72,7 @@ public:
void setServerBufferIntegration(const QString &name);
protected:
- void hardware_integration_bind_resource(Resource *resource);
+ void hardware_integration_bind_resource(Resource *resource) override;
private:
QString m_client_buffer_integration;
diff --git a/src/compositor/hardware_integration/qwlserverbufferintegrationplugin_p.h b/src/compositor/hardware_integration/qwlserverbufferintegrationplugin_p.h
index 0cb5ed323..2f45fee19 100644
--- a/src/compositor/hardware_integration/qwlserverbufferintegrationplugin_p.h
+++ b/src/compositor/hardware_integration/qwlserverbufferintegrationplugin_p.h
@@ -69,7 +69,7 @@ class Q_WAYLAND_COMPOSITOR_EXPORT ServerBufferIntegrationPlugin : public QObject
Q_OBJECT
public:
explicit ServerBufferIntegrationPlugin(QObject *parent = nullptr);
- ~ServerBufferIntegrationPlugin();
+ ~ServerBufferIntegrationPlugin() override;
virtual ServerBufferIntegration *create(const QString &key, const QStringList &paramList) = 0;
};