summaryrefslogtreecommitdiff
path: root/apt-pkg
diff options
context:
space:
mode:
Diffstat (limited to 'apt-pkg')
-rw-r--r--apt-pkg/cachefilter.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/apt-pkg/cachefilter.h b/apt-pkg/cachefilter.h
index 8ea8cf3da..1b5f9aa71 100644
--- a/apt-pkg/cachefilter.h
+++ b/apt-pkg/cachefilter.h
@@ -134,6 +134,7 @@ public:
*/
PackageArchitectureMatchesSpecification(std::string const &pattern, bool const isPattern = true);
bool operator() (char const * const &arch);
+ using PackageMatcher::operator();
bool operator() (pkgCache::PkgIterator const &Pkg) APT_OVERRIDE;
~PackageArchitectureMatchesSpecification() APT_OVERRIDE;
};
@@ -142,6 +143,7 @@ class APT_PUBLIC PackageIsNewInstall : public PackageMatcher { /*{{{*/
pkgCacheFile * const Cache;
public:
explicit PackageIsNewInstall(pkgCacheFile * const Cache);
+ using PackageMatcher::operator();
bool operator() (pkgCache::PkgIterator const &Pkg) APT_OVERRIDE;
~PackageIsNewInstall() APT_OVERRIDE;
};