aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/perfprofiler
diff options
context:
space:
mode:
authorIgor Sidorov <fliyfzen@gmail.com>2020-01-29 04:15:25 +0300
committerIgor Sidorov <fliyfzen@gmail.com>2020-02-05 09:33:55 +0000
commita9e40ad14c42a48e792659c17fb4f01486041b09 (patch)
tree82dbdec456afaddd6b47620b557e3f1bfaa6ce71 /src/plugins/perfprofiler
parentaeb7ef6b37030ed4beb8f431167d2ef88172486b (diff)
Add final specifies to classes
Warning -Wfinal-dtor-non-final-class in clang trunk Change-Id: I2bf17064bf8898eab10b82b69583a283157766d0 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Diffstat (limited to 'src/plugins/perfprofiler')
-rw-r--r--src/plugins/perfprofiler/perfsettings.h2
-rw-r--r--src/plugins/perfprofiler/perftimelineresourcesrenderpass.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/perfprofiler/perfsettings.h b/src/plugins/perfprofiler/perfsettings.h
index 85d506c9a5..c586cd8e71 100644
--- a/src/plugins/perfprofiler/perfsettings.h
+++ b/src/plugins/perfprofiler/perfsettings.h
@@ -33,7 +33,7 @@
namespace PerfProfiler {
-class PERFPROFILER_EXPORT PerfSettings : public ProjectExplorer::ISettingsAspect
+class PERFPROFILER_EXPORT PerfSettings final : public ProjectExplorer::ISettingsAspect
{
Q_OBJECT
Q_PROPERTY(QStringList perfRecordArguments READ perfRecordArguments NOTIFY changed)
diff --git a/src/plugins/perfprofiler/perftimelineresourcesrenderpass.cpp b/src/plugins/perfprofiler/perftimelineresourcesrenderpass.cpp
index ba88f4b462..0fe14fc973 100644
--- a/src/plugins/perfprofiler/perftimelineresourcesrenderpass.cpp
+++ b/src/plugins/perfprofiler/perftimelineresourcesrenderpass.cpp
@@ -36,7 +36,7 @@
namespace PerfProfiler {
namespace Internal {
-class ResourcesRenderPassState : public Timeline::TimelineRenderPass::State
+class ResourcesRenderPassState final : public Timeline::TimelineRenderPass::State
{
public:
ResourcesRenderPassState();