summaryrefslogtreecommitdiff
path: root/apt-pkg/algorithms.cc
diff options
context:
space:
mode:
authorMichael Vogt <mvo@debian.org>2008-10-07 20:38:46 +0200
committerMichael Vogt <mvo@debian.org>2008-10-07 20:38:46 +0200
commit2ee50e0af732ddd94222ca7cbb120341651b02f0 (patch)
tree8da51623f9e3b66498c46846d3e997ac8506b47f /apt-pkg/algorithms.cc
parentc5fdf360513f8d2e5858711ff46c744cddcdeb6f (diff)
parent12f894a435b5c6766835be434be41734e1ee631c (diff)
merged from debian-sid
Diffstat (limited to 'apt-pkg/algorithms.cc')
-rw-r--r--apt-pkg/algorithms.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/apt-pkg/algorithms.cc b/apt-pkg/algorithms.cc
index eaab4c0ea..59f994cd7 100644
--- a/apt-pkg/algorithms.cc
+++ b/apt-pkg/algorithms.cc
@@ -37,7 +37,8 @@ pkgProblemResolver *pkgProblemResolver::This = 0;
this is not necessary since the pkgCaches are fully shared now. */
pkgSimulate::pkgSimulate(pkgDepCache *Cache) : pkgPackageManager(Cache),
iPolicy(Cache),
- Sim(&Cache->GetCache(),&iPolicy)
+ Sim(&Cache->GetCache(),&iPolicy),
+ group(Sim)
{
Sim.Init(0);
Flags = new unsigned char[Cache->Head().PackageCount];