summaryrefslogtreecommitdiff
path: root/apt-pkg/packagemanager.h
diff options
context:
space:
mode:
authorMichael Vogt <mvo@ubuntu.com>2015-07-24 10:12:28 +0200
committerMichael Vogt <mvo@ubuntu.com>2015-07-24 10:12:28 +0200
commitf597a4e604108833a44d37d348d975275cab1b69 (patch)
treec22bbfa68eba77305754c7ab1b7b1c0c300a71a3 /apt-pkg/packagemanager.h
parentd88b70b8e73e9bee5d72a69539b4b9be7ba34814 (diff)
apt-pkg/packagemanager.h: re-add incorrectly removed pkgPackageManager::Go()
Diffstat (limited to 'apt-pkg/packagemanager.h')
-rw-r--r--apt-pkg/packagemanager.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/apt-pkg/packagemanager.h b/apt-pkg/packagemanager.h
index 96fbbbaea..34b4b529f 100644
--- a/apt-pkg/packagemanager.h
+++ b/apt-pkg/packagemanager.h
@@ -99,6 +99,8 @@ 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;};
+ // compat
+ virtual bool Go(int /*statusFd*/=-1) {return true;};
#else
virtual bool Go(int /*statusFd*/=-1) {return true;};
#endif