summaryrefslogtreecommitdiffstats
path: root/apt-pkg/solver3.h
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-08-26 08:04:54 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-08-26 08:04:54 +0000
commite03360876e5b178368c5a86bf0cba1a66f1e9ffc (patch)
tree416e005e1370f813fb72b6eedddd5333cb15b65b /apt-pkg/solver3.h
parentReleasing progress-linux version 2.9.7-0.0~progress7.99u1. (diff)
downloadapt-e03360876e5b178368c5a86bf0cba1a66f1e9ffc.tar.xz
apt-e03360876e5b178368c5a86bf0cba1a66f1e9ffc.zip
Merging upstream version 2.9.8.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--apt-pkg/solver3.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/apt-pkg/solver3.h b/apt-pkg/solver3.h
index 96faaa6..33067a0 100644
--- a/apt-pkg/solver3.h
+++ b/apt-pkg/solver3.h
@@ -104,8 +104,9 @@ class Solver
return verStates[V->ID];
}
- std::vector<char> pkgObsolete;
- bool Obsolete(pkgCache::PkgIterator pkg);
+ mutable std::vector<char> pkgObsolete;
+ bool Obsolete(pkgCache::PkgIterator pkg) const;
+ bool ObsoletedByNewerSourceVersion(pkgCache::VerIterator cand) const;
// \brief Heap of the remaining work.
//