From 6dcae298f972eb20223838f0e1dc376c44bc9cc3 Mon Sep 17 00:00:00 2001 From: David Kalnischkies Date: Fri, 6 May 2016 16:46:51 +0200 Subject: edsp: use a limited scenario based on bool-array Its more space and runtime efficient to use a boolean set instead of a CacheSet-based implementation. Git-Dch: Ignore --- apt-pkg/edsp.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'apt-pkg/edsp.h') diff --git a/apt-pkg/edsp.h b/apt-pkg/edsp.h index 9e92e59d9..347304390 100644 --- a/apt-pkg/edsp.h +++ b/apt-pkg/edsp.h @@ -18,6 +18,7 @@ #include #include +#include #ifndef APT_8_CLEANER_HEADERS #include @@ -98,7 +99,7 @@ namespace EDSP /*{{{*/ * \return true if universe was composed successfully, otherwise false */ bool WriteLimitedScenario(pkgDepCache &Cache, FileFd &output, - APT::PackageSet const &pkgset, + std::vector const &pkgset, OpProgress *Progress = NULL); bool WriteLimitedScenario(pkgDepCache &Cache, FILE* output, APT::PackageSet const &pkgset, -- cgit v1.2.3