]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/deb/debindexfile.cc
Merge remote-tracking branch 'mvo/feature/srcrec-enum2' into debian/sid
[apt.git] / apt-pkg / deb / debindexfile.cc
index 1b35d0d52d0ca579cd3cb1a52df3caa1a8f9c201..a0dd15cd831d1e5661e564ba1e173d10da97ef81 100644 (file)
@@ -525,7 +525,7 @@ bool debTranslationsIndex::Merge(pkgCacheGenerator &Gen,OpProgress *Prog) const
    if (FileExists(TranslationFile))
    {
      FileFd Trans(TranslationFile,FileFd::ReadOnly, FileFd::Extension);
-     debListParser TransParser(&Trans);
+     debTranslationsParser TransParser(&Trans);
      if (_error->PendingError() == true)
        return false;
      
@@ -660,7 +660,7 @@ pkgCache::PkgFileIterator debStatusIndex::FindInCache(pkgCache &Cache) const
 // StatusIndex::Exists - Check if the index is available               /*{{{*/
 // ---------------------------------------------------------------------
 /* */
-bool debStatusIndex::Exists() const
+APT_CONST bool debStatusIndex::Exists() const
 {
    // Abort if the file does not exist.
    return true;