summaryrefslogtreecommitdiff
path: root/cmdline/apt-get.cc
diff options
context:
space:
mode:
authorDavid Kalnischkies <kalnischkies@gmail.com>2010-06-04 14:51:21 +0200
committerDavid Kalnischkies <kalnischkies@gmail.com>2010-06-04 14:51:21 +0200
commitea4b220b1b17b270fc1a05e454439c32589548b7 (patch)
tree353c1c920aa6d48769871f09a97c6bccca6f2951 /cmdline/apt-get.cc
parent2e5f4e45f593535e2c88181ff7a9e2d32a5e60f9 (diff)
Switch away from the now deprecated methods for Cache building
Diffstat (limited to 'cmdline/apt-get.cc')
-rw-r--r--cmdline/apt-get.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmdline/apt-get.cc b/cmdline/apt-get.cc
index 9894747f4..c70dd56ac 100644
--- a/cmdline/apt-get.cc
+++ b/cmdline/apt-get.cc
@@ -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();