Switch away from the now deprecated methods for Cache building
[ntk/apt.git] / apt-inst / deb / dpkgdb.cc
index e51e4f8..a75cf59 100644 (file)
@@ -142,7 +142,7 @@ bool debDpkgDB::ReadyPkgCache(OpProgress &Progress)
       CacheMap = 0;
    }
    
-   if (pkgMakeOnlyStatusCache(Progress,&CacheMap) == false)
+   if (pkgCacheGenerator::MakeOnlyStatusCache(&Progress,&CacheMap) == false)
       return false;
    Cache->DropProgress();