diff options
author | Arch Librarian <arch@canonical.com> | 2004-09-20 16:52:05 +0000 |
---|---|---|
committer | Arch Librarian <arch@canonical.com> | 2004-09-20 16:52:05 +0000 |
commit | 981d20eb7e036152b04238036d1ce215b9b75ccf (patch) | |
tree | 5c3bfdc59a4f3a7092bcecdd28b8e87f9855063f /apt-pkg/depcache.cc | |
parent | 2cca3bd92f9ca2f6e262235e0099383bb47fc6c6 (diff) |
Simulator fix
Author: jgg
Date: 1998-12-08 01:34:05 GMT
Simulator fix
Diffstat (limited to 'apt-pkg/depcache.cc')
-rw-r--r-- | apt-pkg/depcache.cc | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/apt-pkg/depcache.cc b/apt-pkg/depcache.cc index 9535a79f1..7f9ded720 100644 --- a/apt-pkg/depcache.cc +++ b/apt-pkg/depcache.cc @@ -1,6 +1,6 @@ // -*- mode: cpp; mode: fold -*- // Description /*{{{*/ -// $Id: depcache.cc,v 1.9 1998/12/07 23:54:42 jgg Exp $ +// $Id: depcache.cc,v 1.10 1998/12/08 01:34:07 jgg Exp $ /* ###################################################################### Dependency Cache - Caches Dependency information. @@ -26,6 +26,12 @@ pkgDepCache::pkgDepCache(MMap &Map,OpProgress &Prog) : if (_error->PendingError() == false) Init(&Prog); } +pkgDepCache::pkgDepCache(MMap &Map) : + pkgCache(Map), PkgState(0), DepState(0) +{ + if (_error->PendingError() == false) + Init(0); +} /*}}}*/ // DepCache::~pkgDepCache - Destructor /*{{{*/ // --------------------------------------------------------------------- |