summaryrefslogtreecommitdiff
path: root/apt-pkg/policy.h
diff options
context:
space:
mode:
authorDavid Kalnischkies <kalnischkies@gmail.com>2010-07-04 14:23:20 +0200
committerDavid Kalnischkies <kalnischkies@gmail.com>2010-07-04 14:23:20 +0200
commite841200b9389ffc90e290310207bcb47e8a52be2 (patch)
tree2f0c35f19de8e58a567463185774738a93dcfaf2 /apt-pkg/policy.h
parent2fbfb111312257fa5fc29b0c2ed386fb712f960e (diff)
* apt-pkg/policy.h:
- add another round of const& madness as the previous round accidently NOT override the virtual GetCandidateVer() method (Closes: #587725)
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 28cb3ccbb..f8b2678de 100644
--- a/apt-pkg/policy.h
+++ b/apt-pkg/policy.h
@@ -76,7 +76,7 @@ class pkgPolicy : public pkgDepCache::Policy
// Things for the cache interface.
virtual pkgCache::VerIterator GetCandidateVer(pkgCache::PkgIterator const &Pkg);
- virtual bool IsImportantDep(pkgCache::DepIterator Dep) {return pkgDepCache::Policy::IsImportantDep(Dep);};
+ virtual bool IsImportantDep(pkgCache::DepIterator const &Dep) {return pkgDepCache::Policy::IsImportantDep(Dep);};
bool InitDefaults();
pkgPolicy(pkgCache *Owner);