diff options
author | Julian Andres Klode <julian.klode@canonical.com> | 2019-06-14 15:45:28 +0200 |
---|---|---|
committer | Julian Andres Klode <julian.klode@canonical.com> | 2019-06-14 15:45:28 +0200 |
commit | 6b6e942da072ef5b0f5d49b16c8bf2374f8a5071 (patch) | |
tree | 56f894019f48c65eb92a8417009c4dbe529db97d /apt-pkg/policy.h | |
parent | a15f2d0deeb90ce79903823e9317d4fa3e47acff (diff) |
policy: Remove GetMatch and GetPriority(pkgIterator)
These functions do not produce any useful results anymore, so
it's pointless to keep them around.
Diffstat (limited to 'apt-pkg/policy.h')
-rw-r--r-- | apt-pkg/policy.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/apt-pkg/policy.h b/apt-pkg/policy.h index 77f246740..d3d68f921 100644 --- a/apt-pkg/policy.h +++ b/apt-pkg/policy.h @@ -71,11 +71,9 @@ class pkgPolicy : public pkgDepCache::Policy // Things for manipulating pins void CreatePin(pkgVersionMatch::MatchType Type,std::string Pkg, std::string Data,signed short Priority); - pkgCache::VerIterator GetMatch(pkgCache::PkgIterator const &Pkg); // Things for the cache interface. virtual pkgCache::VerIterator GetCandidateVer(pkgCache::PkgIterator const &Pkg) APT_OVERRIDE; - virtual signed short GetPriority(pkgCache::PkgIterator const &Pkg) APT_OVERRIDE; virtual signed short GetPriority(pkgCache::VerIterator const &Ver, bool ConsiderFiles = true) APT_OVERRIDE; virtual signed short GetPriority(pkgCache::PkgFileIterator const &File) APT_OVERRIDE; |