diff options
author | Michael Vogt <michael.vogt@ubuntu.com> | 2010-10-01 15:47:34 +0200 |
---|---|---|
committer | Michael Vogt <michael.vogt@ubuntu.com> | 2010-10-01 15:47:34 +0200 |
commit | ebd21427926418a01739baca2ee3426c103ff83a (patch) | |
tree | a44b2d70ca085e8500f92555a0e5ba79f797febc /apt-pkg | |
parent | 7e1d0a91891ae79facf30ca058557b6e45650f31 (diff) |
cherry pick fix -r 2028 from lp:~donkult/apt/sid
Diffstat (limited to 'apt-pkg')
-rw-r--r-- | apt-pkg/depcache.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-pkg/depcache.h b/apt-pkg/depcache.h index 08e683558..2d3dbdf77 100644 --- a/apt-pkg/depcache.h +++ b/apt-pkg/depcache.h @@ -189,7 +189,7 @@ class pkgDepCache : protected pkgCache::Namespace DefaultRootSetFunc() : Configuration::MatchAgainstConfig("APT::NeverAutoRemove") {}; virtual ~DefaultRootSetFunc() {}; - bool InRootSet(const pkgCache::PkgIterator &pkg) { return pkg.end() == true && Match(pkg.Name()); }; + bool InRootSet(const pkgCache::PkgIterator &pkg) { return pkg.end() == false && Match(pkg.Name()); }; }; struct StateCache |