From 27f1d268d9f960b72081b74b0688fdc5fc212ff5 Mon Sep 17 00:00:00 2001 From: David Faure Date: Sun, 4 Apr 2021 13:52:53 +0200 Subject: kconfig_compiler: add override to generated destructors This fixes the clang warning globalsettings_kmail.h:58:5: warning: '~GlobalSettingsBase' overrides a destructor but is not marked 'override' [-Wsuggest-destructor-override] --- autotests/kconfig_compiler/test_emptyentries.h.ref | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'autotests/kconfig_compiler/test_emptyentries.h.ref') diff --git a/autotests/kconfig_compiler/test_emptyentries.h.ref b/autotests/kconfig_compiler/test_emptyentries.h.ref index c2481e2d..65d5c7da 100644 --- a/autotests/kconfig_compiler/test_emptyentries.h.ref +++ b/autotests/kconfig_compiler/test_emptyentries.h.ref @@ -15,7 +15,7 @@ class QMakeBuilderSettings : public KConfigSkeleton static QMakeBuilderSettings *self(); static void instance(const QString& cfgfilename); static void instance(KSharedConfig::Ptr config); - ~QMakeBuilderSettings(); + ~QMakeBuilderSettings() override; protected: QMakeBuilderSettings(KSharedConfig::Ptr config); -- cgit v1.2.1