summaryrefslogtreecommitdiff
path: root/apt-pkg/algorithms.cc
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2008-10-07 20:24:10 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2008-10-07 20:24:10 +0200
commitc4ed75769f32eee57bd56350709b24b2bb7222aa (patch)
tree4f76b20d2a4c04685132e58437893deb4844f6bc /apt-pkg/algorithms.cc
parentc5fdf360513f8d2e5858711ff46c744cddcdeb6f (diff)
parent5634f31af3ddd58171b660e48af18d9cb0939275 (diff)
merged from the debain-sid branch
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];