summaryrefslogtreecommitdiff
path: root/apt-pkg/solver3.h
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2026-01-06 11:45:16 +0100
committerJulian Andres Klode <jak@debian.org>2026-01-31 15:08:29 +0100
commitceca5e8d0f9e1a1c5297ed79f00ca76c61e2140c (patch)
tree18a63e606dbeba7d3ebd68c8fcd099077159706d /apt-pkg/solver3.h
parent0a37f95b2d9582c5cad95725302abaf0635ee8a3 (diff)
solver3: Use LiftedBool for Obsolete state
Quite a convenient way since we need exactly lifted bool semantics
Diffstat (limited to 'apt-pkg/solver3.h')
-rw-r--r--apt-pkg/solver3.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-pkg/solver3.h b/apt-pkg/solver3.h
index 4a2b4ac8d..ecb6e4160 100644
--- a/apt-pkg/solver3.h
+++ b/apt-pkg/solver3.h
@@ -442,7 +442,7 @@ class DependencySolver : public Solver
bool KeepSuggests{_config->FindB("APT::AutoRemove::SuggestsImportant", true)};
// Helper functions for detecting obsolete packages
- mutable FastContiguousCacheMap<pkgCache::Package, char> pkgObsolete;
+ mutable FastContiguousCacheMap<pkgCache::Package, LiftedBool> pkgObsolete;
bool Obsolete(pkgCache::PkgIterator pkg, bool AllowManual = false) const;
bool ObsoletedByNewerSourceVersion(pkgCache::VerIterator cand) const;