summaryrefslogtreecommitdiff
path: root/apt-pkg/policy.h
diff options
context:
space:
mode:
Diffstat (limited to 'apt-pkg/policy.h')
-rw-r--r--apt-pkg/policy.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/apt-pkg/policy.h b/apt-pkg/policy.h
index c4b1cbadd..9deeb9d0e 100644
--- a/apt-pkg/policy.h
+++ b/apt-pkg/policy.h
@@ -63,6 +63,7 @@ class pkgPolicy : public pkgDepCache::Policy
};
Pin *Pins;
+ Pin *VerPins;
signed short *PFPriority;
std::vector<Pin> Defaults;
std::vector<PkgPin> Unmatched;
@@ -79,6 +80,7 @@ class pkgPolicy : public pkgDepCache::Policy
// Things for the cache interface.
virtual pkgCache::VerIterator GetCandidateVer(pkgCache::PkgIterator const &Pkg);
virtual signed short GetPriority(pkgCache::PkgIterator const &Pkg);
+ virtual signed short GetPriority(pkgCache::VerIterator const &Pkg);
virtual signed short GetPriority(pkgCache::PkgFileIterator const &File);
bool InitDefaults();