summaryrefslogtreecommitdiff
path: root/apt-pkg/cachefilter.h
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2015-08-11 15:58:03 +0200
committerJulian Andres Klode <jak@debian.org>2015-08-11 15:58:42 +0200
commit6d7122b5356c0b4d8f51aafdfc1c232392fca695 (patch)
tree233b80706bcb3b07973220a937b56b45dbe4caa2 /apt-pkg/cachefilter.h
parent17a2487fc69a86508f2319068296463698590d2b (diff)
Annotate more methods with APT_OVERRIDE
Gbp-Dch: ignore Reported-By: g++ -Wsuggest-override Thanks: g++ -Wsuggest-override
Diffstat (limited to 'apt-pkg/cachefilter.h')
-rw-r--r--apt-pkg/cachefilter.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-pkg/cachefilter.h b/apt-pkg/cachefilter.h
index 2719154c1..9970b5b22 100644
--- a/apt-pkg/cachefilter.h
+++ b/apt-pkg/cachefilter.h
@@ -29,7 +29,7 @@ public:
class PackageMatcher : public Matcher {
public:
- virtual bool operator() (pkgCache::PkgIterator const &Pkg) = 0;
+ virtual bool operator() (pkgCache::PkgIterator const &Pkg) APT_OVERRIDE = 0;
virtual bool operator() (pkgCache::VerIterator const &Ver) APT_OVERRIDE { return (*this)(Ver.ParentPkg()); }
virtual bool operator() (pkgCache::GrpIterator const &/*Grp*/) APT_OVERRIDE { return false; }
virtual ~PackageMatcher();