diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-08-26 08:04:53 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-08-26 08:04:53 +0000 |
commit | fc49787d356473e9e62b0748d9deb10cc81af4f0 (patch) | |
tree | b9aef9dbc5853a7928757f852a0860b85454dfcf /apt-pkg/solver3.h | |
parent | Adding upstream version 2.9.7. (diff) | |
download | apt-fc49787d356473e9e62b0748d9deb10cc81af4f0.tar.xz apt-fc49787d356473e9e62b0748d9deb10cc81af4f0.zip |
Adding upstream version 2.9.8.upstream/2.9.8upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'apt-pkg/solver3.h')
-rw-r--r-- | apt-pkg/solver3.h | 5 |
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. // |