aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLaurent Montel <montel@kde.org>2021-11-02 07:50:11 +0100
committerLaurent Montel <montel@kde.org>2021-11-02 07:50:11 +0100
commitc64a73a4c4f3c3fc31720c6004c217cd44b7de0b (patch)
tree29530b437515a752fde8a7914f1f350e344e10af /src
parent605383b1a299ea69444b10a5cf2eb9cb61009f86 (diff)
downloadkconfig-c64a73a4c4f3c3fc31720c6004c217cd44b7de0b.tar.gz
kconfig-c64a73a4c4f3c3fc31720c6004c217cd44b7de0b.tar.bz2
GIT_SILENT: add missing override
Diffstat (limited to 'src')
-rw-r--r--src/core/kconfig.h2
-rw-r--r--src/core/kconfigbackend_p.h2
-rw-r--r--src/core/kconfiggroup.h2
-rw-r--r--src/core/kcoreconfigskeleton.h2
-rw-r--r--src/core/kdesktopfile.h2
5 files changed, 5 insertions, 5 deletions
diff --git a/src/core/kconfig.h b/src/core/kconfig.h
index 6fee5ff5..0835c951 100644
--- a/src/core/kconfig.h
+++ b/src/core/kconfig.h
@@ -139,7 +139,7 @@ public:
*/
KConfig(const QString &file, const QString &backend, QStandardPaths::StandardLocation type = QStandardPaths::GenericConfigLocation);
- virtual ~KConfig();
+ ~KConfig() override;
/**
* Returns the standard location enum passed to the constructor.
diff --git a/src/core/kconfigbackend_p.h b/src/core/kconfigbackend_p.h
index 5b38634f..1884643f 100644
--- a/src/core/kconfigbackend_p.h
+++ b/src/core/kconfigbackend_p.h
@@ -63,7 +63,7 @@ public:
static void registerMappings(const KEntryMap &entryMap);
/** Destroys the backend */
- virtual ~KConfigBackend();
+ ~KConfigBackend() override;
/** Allows the behaviour of parseConfig() to be tuned */
enum ParseOption {
diff --git a/src/core/kconfiggroup.h b/src/core/kconfiggroup.h
index 8a6243af..6a6a74da 100644
--- a/src/core/kconfiggroup.h
+++ b/src/core/kconfiggroup.h
@@ -92,7 +92,7 @@ public:
KConfigGroup(const KConfigGroup &);
KConfigGroup &operator=(const KConfigGroup &);
- ~KConfigGroup();
+ ~KConfigGroup() override;
/**
* Whether the group is valid.
diff --git a/src/core/kcoreconfigskeleton.h b/src/core/kcoreconfigskeleton.h
index aafc417c..d32de14a 100644
--- a/src/core/kcoreconfigskeleton.h
+++ b/src/core/kcoreconfigskeleton.h
@@ -1131,7 +1131,7 @@ public:
/**
* Destructor
*/
- virtual ~KCoreConfigSkeleton();
+ ~KCoreConfigSkeleton() override;
/**
* Set all registered items to their default values.
diff --git a/src/core/kdesktopfile.h b/src/core/kdesktopfile.h
index da0f39b4..5cd739f1 100644
--- a/src/core/kdesktopfile.h
+++ b/src/core/kdesktopfile.h
@@ -56,7 +56,7 @@ public:
*
* Writes back any dirty configuration entries.
*/
- virtual ~KDesktopFile();
+ ~KDesktopFile() override;
/**
* Checks whether this is really a desktop file.