]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/pkgcachegen.h
factor version string creation out of NewDepends, so we can easily reuse
[apt.git] / apt-pkg / pkgcachegen.h
index b6259b43383bc09e05f8f5028784322961467f70..e759cbd3e0fa8958d351724e2828aff5b432eef9 100644 (file)
@@ -77,6 +77,9 @@ class pkgCacheGenerator                                                       /*{{{*/
    bool NewDepends(pkgCache::PkgIterator &Pkg, pkgCache::VerIterator &Ver,
                   std::string const &Version, unsigned int const &Op,
                   unsigned int const &Type, map_ptrloc* &OldDepLast);
+   bool NewDepends(pkgCache::PkgIterator &Pkg, pkgCache::VerIterator &Ver,
+                  map_ptrloc const Version, unsigned int const &Op,
+                  unsigned int const &Type, map_ptrloc* &OldDepLast);
    unsigned long NewVersion(pkgCache::VerIterator &Ver,const std::string &VerStr,unsigned long Next);
    map_ptrloc NewDescription(pkgCache::DescIterator &Desc,const std::string &Lang,const MD5SumValue &md5sum,map_ptrloc Next);