diff options
author | Julian Andres Klode <jak@debian.org> | 2015-08-15 11:52:50 +0200 |
---|---|---|
committer | Julian Andres Klode <jak@debian.org> | 2015-08-15 11:54:08 +0200 |
commit | a0a6695515f8d8d7db3f52751d4d14f8266c286c (patch) | |
tree | 5d104d38a5af7abf75ebe1e5b4dedbd66859598d /apt-pkg/policy.h | |
parent | 91e42c2b4e9a6e8c7c1db29e9d1606741d251ca0 (diff) |
Add GetPriority(VerIterator) to pkgDepCache::Policy
Also unify the case of considerFiles and ConsiderFiles to be
ConsiderFiles in all cases.
Gbp-Dch: ignore
Diffstat (limited to 'apt-pkg/policy.h')
-rw-r--r-- | apt-pkg/policy.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-pkg/policy.h b/apt-pkg/policy.h index 5be6657e9..bb0ff7e27 100644 --- a/apt-pkg/policy.h +++ b/apt-pkg/policy.h @@ -80,7 +80,7 @@ class pkgPolicy : public pkgDepCache::Policy // 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 &Pkg, bool ConsiderFiles = true); + virtual signed short GetPriority(pkgCache::VerIterator const &Ver, bool ConsiderFiles = true) APT_OVERRIDE; virtual signed short GetPriority(pkgCache::PkgFileIterator const &File) APT_OVERRIDE; bool InitDefaults(); |