diff options
author | Johannes Kauffmann <johanneskauffmann@hotmail.com> | 2022-08-28 00:03:26 +0000 |
---|---|---|
committer | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2022-08-28 16:51:21 +0000 |
commit | abfd75e98f85081e3dd1c1f6d219c369a617d288 (patch) | |
tree | eebda247ae87c4f869bb480c14d2e653873555b3 /src/qmldebug | |
parent | 5647527a8cde84b51fff66fc482f02435770b3dd (diff) |
Avoid both virtual and override on destructors
Destructors don't need to be declared virtual when the destructor from
the parent class is already declared virtual.
Additionally, this removes the last usage of Q_DECL_OVERRIDE.
Pick-to: 6.4
Change-Id: I7d43f5d5fbb1423319adde04d4994ada9daab6b1
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'src/qmldebug')
-rw-r--r-- | src/qmldebug/qqmlprofilerclient_p_p.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qmldebug/qqmlprofilerclient_p_p.h b/src/qmldebug/qqmlprofilerclient_p_p.h index 39e606ab61..e6cf1054ee 100644 --- a/src/qmldebug/qqmlprofilerclient_p_p.h +++ b/src/qmldebug/qqmlprofilerclient_p_p.h @@ -43,7 +43,7 @@ public: { } - virtual ~QQmlProfilerClientPrivate() override; + ~QQmlProfilerClientPrivate() override; void sendRecordingStatus(int engineId); bool updateFeatures(ProfileFeature feature); |