diff options
author | David Kalnischkies <kalnischkies@gmail.com> | 2010-07-04 14:23:20 +0200 |
---|---|---|
committer | David Kalnischkies <kalnischkies@gmail.com> | 2010-07-04 14:23:20 +0200 |
commit | e841200b9389ffc90e290310207bcb47e8a52be2 (patch) | |
tree | 2f0c35f19de8e58a567463185774738a93dcfaf2 /apt-pkg/algorithms.h | |
parent | 2fbfb111312257fa5fc29b0c2ed386fb712f960e (diff) | |
download | apt-e841200b9389ffc90e290310207bcb47e8a52be2.tar.gz |
* 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/algorithms.h')
-rw-r--r-- | apt-pkg/algorithms.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-pkg/algorithms.h b/apt-pkg/algorithms.h index cee30b679..cf4a98c4f 100644 --- a/apt-pkg/algorithms.h +++ b/apt-pkg/algorithms.h @@ -48,7 +48,7 @@ class pkgSimulate : public pkgPackageManager /*{{{*/ pkgDepCache *Cache; public: - virtual VerIterator GetCandidateVer(PkgIterator Pkg) + virtual VerIterator GetCandidateVer(PkgIterator const &Pkg) { return (*Cache)[Pkg].CandidateVerIter(*Cache); } |