summaryrefslogtreecommitdiff
path: root/apt-pkg/packagemanager.h
diff options
context:
space:
mode:
authorMichael Vogt <mvo@ubuntu.com>2014-06-18 15:05:32 +0200
committerMichael Vogt <mvo@ubuntu.com>2014-06-18 15:05:32 +0200
commit9eb0042bef1f1b6b1603fb234cdbc53fc76b2ce7 (patch)
tree62f2a9ac2c5727561af654b1aca48532d77203ec /apt-pkg/packagemanager.h
parentac2c559b33db7a2dbec3a95760ee2497baf7017a (diff)
readd pkgPackageManager::Go() to not break API
Diffstat (limited to 'apt-pkg/packagemanager.h')
-rw-r--r--apt-pkg/packagemanager.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/apt-pkg/packagemanager.h b/apt-pkg/packagemanager.h
index 558132ceb..4972dcd04 100644
--- a/apt-pkg/packagemanager.h
+++ b/apt-pkg/packagemanager.h
@@ -98,6 +98,7 @@ class pkgPackageManager : protected pkgCache::Namespace
virtual bool Remove(PkgIterator /*Pkg*/,bool /*Purge*/=false) {return false;};
#if (APT_PKG_MAJOR >= 4 && APT_PKG_MINOR >= 13)
virtual bool Go(APT::Progress::PackageManager * /*progress*/) {return true;};
+ virtual bool Go(int /*statusFd*/=-1) {return true;};
#else
virtual bool Go(int /*statusFd*/=-1) {return true;};
#endif