summaryrefslogtreecommitdiff
path: root/apt-pkg/edsp.h
diff options
context:
space:
mode:
authorDavid Kalnischkies <david@kalnischkies.de>2016-05-06 16:46:51 +0200
committerDavid Kalnischkies <david@kalnischkies.de>2016-05-20 14:18:36 +0200
commit6dcae298f972eb20223838f0e1dc376c44bc9cc3 (patch)
tree2906652b0ed9f08dd5ab7473b475afda975bda72 /apt-pkg/edsp.h
parent43c71fad3a51d841132ba15a7a5930e1ee4126ed (diff)
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
Diffstat (limited to 'apt-pkg/edsp.h')
-rw-r--r--apt-pkg/edsp.h3
1 files changed, 2 insertions, 1 deletions
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 <list>
#include <string>
+#include <vector>
#ifndef APT_8_CLEANER_HEADERS
#include <apt-pkg/depcache.h>
@@ -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<bool> const &pkgset,
OpProgress *Progress = NULL);
bool WriteLimitedScenario(pkgDepCache &Cache, FILE* output,
APT::PackageSet const &pkgset,