diff options
author | David Kalnischkies <kalnischkies@gmail.com> | 2011-05-11 14:09:18 +0200 |
---|---|---|
committer | David Kalnischkies <kalnischkies@gmail.com> | 2011-05-11 14:09:18 +0200 |
commit | df77d8a5fb5340b23fec5363f9a52704e940b048 (patch) | |
tree | 1bba838121aa99db9213a939e708464c9a65f38d /apt-pkg/cacheiterators.h | |
parent | f1bdfe81560b110dbf1ee6f5f7fa8c98423ef345 (diff) |
if critical or-group can't be satisfied, exit directly.
Diffstat (limited to 'apt-pkg/cacheiterators.h')
-rw-r--r-- | apt-pkg/cacheiterators.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apt-pkg/cacheiterators.h b/apt-pkg/cacheiterators.h index 8f9f811da..0c9813c6d 100644 --- a/apt-pkg/cacheiterators.h +++ b/apt-pkg/cacheiterators.h @@ -287,6 +287,7 @@ class pkgCache::DepIterator : public Iterator<Dependency, DepIterator> { inline PkgIterator ParentPkg() const {return PkgIterator(*Owner,Owner->PkgP + Owner->VerP[S->ParentVer].ParentPkg);}; inline bool Reverse() const {return Type == DepRev;}; bool IsCritical() const; + bool IsNegative() const; void GlobOr(DepIterator &Start,DepIterator &End); Version **AllTargets() const; bool SmartTargetPkg(PkgIterator &Result) const; |