summaryrefslogtreecommitdiff
path: root/apt-pkg/policy.h
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2015-08-15 11:52:50 +0200
committerJulian Andres Klode <jak@debian.org>2015-08-15 11:54:08 +0200
commita0a6695515f8d8d7db3f52751d4d14f8266c286c (patch)
tree5d104d38a5af7abf75ebe1e5b4dedbd66859598d /apt-pkg/policy.h
parent91e42c2b4e9a6e8c7c1db29e9d1606741d251ca0 (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.h2
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();