diff options
author | Michael Vogt <mvo@ubuntu.com> | 2014-06-18 15:05:32 +0200 |
---|---|---|
committer | Michael Vogt <mvo@ubuntu.com> | 2014-06-18 15:05:32 +0200 |
commit | 9eb0042bef1f1b6b1603fb234cdbc53fc76b2ce7 (patch) | |
tree | 62f2a9ac2c5727561af654b1aca48532d77203ec /apt-pkg/packagemanager.h | |
parent | ac2c559b33db7a2dbec3a95760ee2497baf7017a (diff) |
readd pkgPackageManager::Go() to not break API
Diffstat (limited to 'apt-pkg/packagemanager.h')
-rw-r--r-- | apt-pkg/packagemanager.h | 1 |
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 |