diff options
author | David Kalnischkies <kalnischkies@gmail.com> | 2010-06-09 14:20:27 +0200 |
---|---|---|
committer | David Kalnischkies <kalnischkies@gmail.com> | 2010-06-09 14:20:27 +0200 |
commit | 9ee8287e5ea8a993fbb4c5beb8fe8bbddadfa7a0 (patch) | |
tree | bd5b6c77b1066676e95361d0ae135d261d165e85 /apt-pkg/policy.h | |
parent | 6d052eba8cc67245b21d333ece2e76efb22f82db (diff) |
* apt-pkg/policy.cc:
- get the candidate right for a not-installed pseudo package if
his non-pseudo friend is installed
Diffstat (limited to 'apt-pkg/policy.h')
-rw-r--r-- | apt-pkg/policy.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apt-pkg/policy.h b/apt-pkg/policy.h index 4894682fa..28cb3ccbb 100644 --- a/apt-pkg/policy.h +++ b/apt-pkg/policy.h @@ -72,10 +72,10 @@ class pkgPolicy : public pkgDepCache::Policy inline signed short GetPriority(pkgCache::PkgFileIterator const &File) {return PFPriority[File->ID];}; signed short GetPriority(pkgCache::PkgIterator const &Pkg); - pkgCache::VerIterator GetMatch(pkgCache::PkgIterator Pkg); + pkgCache::VerIterator GetMatch(pkgCache::PkgIterator const &Pkg); // Things for the cache interface. - virtual pkgCache::VerIterator GetCandidateVer(pkgCache::PkgIterator Pkg); + virtual pkgCache::VerIterator GetCandidateVer(pkgCache::PkgIterator const &Pkg); virtual bool IsImportantDep(pkgCache::DepIterator Dep) {return pkgDepCache::Policy::IsImportantDep(Dep);}; bool InitDefaults(); |