From 6b6e942da072ef5b0f5d49b16c8bf2374f8a5071 Mon Sep 17 00:00:00 2001 From: Julian Andres Klode Date: Fri, 14 Jun 2019 15:45:28 +0200 Subject: policy: Remove GetMatch and GetPriority(pkgIterator) These functions do not produce any useful results anymore, so it's pointless to keep them around. --- apt-pkg/policy.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'apt-pkg/policy.h') 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; -- cgit v1.2.3