diff options
author | Kevin Funk <kfunk@kde.org> | 2015-02-12 00:17:57 +0100 |
---|---|---|
committer | Kevin Funk <kfunk@kde.org> | 2015-02-12 13:54:33 +0100 |
commit | 28ddbf8138c865e19e8836b49af74f9d3bc20401 (patch) | |
tree | f4c0540132f4e79ff684915a33aa4c12666da2f4 /src/core/ksharedconfig.h | |
parent | 11585e2fccf742798ab3396726f87323b54b3ac9 (diff) | |
download | kconfig-28ddbf8138c865e19e8836b49af74f9d3bc20401.tar.gz kconfig-28ddbf8138c865e19e8836b49af74f9d3bc20401.tar.bz2 |
Use Q_DECL_OVERRIDE where possible
With -Winconsistent-missing-override (Clang), headers from KConfig are
throwing a lot of warnings.
REVIEW: 122539
Diffstat (limited to 'src/core/ksharedconfig.h')
-rw-r--r-- | src/core/ksharedconfig.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/ksharedconfig.h b/src/core/ksharedconfig.h index b2317afd..d0791e46 100644 --- a/src/core/ksharedconfig.h +++ b/src/core/ksharedconfig.h @@ -79,8 +79,8 @@ public: private: Q_DISABLE_COPY(KSharedConfig) - virtual KConfigGroup groupImpl(const QByteArray &aGroup); - virtual const KConfigGroup groupImpl(const QByteArray &aGroup) const; + virtual KConfigGroup groupImpl(const QByteArray &aGroup) Q_DECL_OVERRIDE; + virtual const KConfigGroup groupImpl(const QByteArray &aGroup) const Q_DECL_OVERRIDE; KSharedConfig(const QString &file, OpenFlags mode, QStandardPaths::StandardLocation resourceType); |