]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/algorithms.h
* apt-pkg/deb/debsrcrecords.cc:
[apt.git] / apt-pkg / algorithms.h
index cee30b679f3509d00611593eac0c062b5731ab7d..cf4a98c4f95818b069336362ba0c178e5997d8f1 100644 (file)
@@ -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);
       }