diff options
author | Julian Andres Klode <julian.klode@canonical.com> | 2019-05-06 16:29:40 +0200 |
---|---|---|
committer | Julian Andres Klode <julian.klode@canonical.com> | 2019-05-06 16:29:40 +0200 |
commit | 3bec42fdf01eb3f7403876979023ad952228ee73 (patch) | |
tree | 14757b951a856b43b0fd0ab899264af43613eef6 /apt-pkg/deb/deblistparser.h | |
parent | f6affb0a6e135ba8591be6623f880bd9344ce52a (diff) |
CMake: Enforce "override" use on overriden methods
This ensures that we do not accidentally stop overriding a
method because it's signature changed in an API break.
Diffstat (limited to 'apt-pkg/deb/deblistparser.h')
-rw-r--r-- | apt-pkg/deb/deblistparser.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-pkg/deb/deblistparser.h b/apt-pkg/deb/deblistparser.h index ad2b947fe..8143f855f 100644 --- a/apt-pkg/deb/deblistparser.h +++ b/apt-pkg/deb/deblistparser.h @@ -152,7 +152,7 @@ class APT_HIDDEN debTranslationsParser : public debListParser class APT_HIDDEN debStatusListParser : public debListParser { public: - virtual bool ParseStatus(pkgCache::PkgIterator &Pkg,pkgCache::VerIterator &Ver); + virtual bool ParseStatus(pkgCache::PkgIterator &Pkg,pkgCache::VerIterator &Ver) APT_OVERRIDE; explicit debStatusListParser(FileFd *File) : debListParser(File) {}; }; |