]> git.saurik.com Git - apt.git/blobdiff - cmdline/apt-get.cc
Switch away from the now deprecated methods for Cache building
[apt.git] / cmdline / apt-get.cc
index 9894747f4210bd1e55c6b6af9bd2d952827b174f..c70dd56ac485f2240bde822042a622c49863e2b6 100644 (file)
@@ -91,14 +91,14 @@ class CacheFile : public pkgCacheFile
    bool BuildCaches(bool WithLock = true)
    {
       OpTextProgress Prog(*_config);
-      if (pkgCacheFile::BuildCaches(Prog,WithLock) == false)
+      if (pkgCacheFile::BuildCaches(&Prog,WithLock) == false)
         return false;
       return true;
    }
    bool Open(bool WithLock = true) 
    {
       OpTextProgress Prog(*_config);
-      if (pkgCacheFile::Open(Prog,WithLock) == false)
+      if (pkgCacheFile::Open(&Prog,WithLock) == false)
         return false;
       Sort();