summaryrefslogtreecommitdiff
path: root/apt-pkg/packagemanager.h
diff options
context:
space:
mode:
authorMichael Vogt <mvo@ubuntu.com>2015-07-24 10:25:31 +0200
committerMichael Vogt <mvo@ubuntu.com>2015-07-24 10:25:31 +0200
commit2061c8671f05741291ed1c77418fa583cfd05d41 (patch)
treecb7c55a92e280bbaf78b001e4a1809d28f45ac71 /apt-pkg/packagemanager.h
parentd88b70b8e73e9bee5d72a69539b4b9be7ba34814 (diff)
* apt-pkg/packagemanager.h:
- re-add incorrectly removed pkgPackageManager::Go() to make python-apt build again
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