summaryrefslogtreecommitdiff
path: root/apt-pkg/policy.h
diff options
context:
space:
mode:
authorJulian Andres Klode <julian.klode@canonical.com>2019-06-14 15:45:28 +0200
committerJulian Andres Klode <julian.klode@canonical.com>2019-06-14 15:45:28 +0200
commit6b6e942da072ef5b0f5d49b16c8bf2374f8a5071 (patch)
tree56f894019f48c65eb92a8417009c4dbe529db97d /apt-pkg/policy.h
parenta15f2d0deeb90ce79903823e9317d4fa3e47acff (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.h2
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;