summaryrefslogtreecommitdiff
path: root/apt-pkg/policy.h
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2015-08-10 12:20:51 +0200
committerJulian Andres Klode <jak@debian.org>2015-08-10 12:28:23 +0200
commita91aae406112df1d8fe16d00212333a20210f674 (patch)
treec97c4546f40bf6f04be2d23cbad1ba15a63db90d /apt-pkg/policy.h
parent5f9386e54360c403772e2a876d48d31dde9d5097 (diff)
Determine the candidate based on per-version pins, instead of old code
The new implementation assigns each version a pin, instead of assigning the pin to a package. This enables us to give each version of a package a different priority. Closes: #770017 Closes: #622237 Closes: #620249 Closes: #685215
Diffstat (limited to 'apt-pkg/policy.h')
-rw-r--r--apt-pkg/policy.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/apt-pkg/policy.h b/apt-pkg/policy.h
index 9deeb9d0e..4efe2ec50 100644
--- a/apt-pkg/policy.h
+++ b/apt-pkg/policy.h
@@ -88,6 +88,7 @@ class pkgPolicy : public pkgDepCache::Policy
pkgPolicy(pkgCache *Owner);
virtual ~pkgPolicy();
private:
+ pkgCache::VerIterator GetCandidateVerNew(pkgCache::PkgIterator const &Pkg);
void *d;
};