summaryrefslogtreecommitdiff
path: root/apt-pkg/solver3.h
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2025-10-25 21:25:23 +0200
committerJulian Andres Klode <jak@debian.org>2025-10-25 22:16:54 +0200
commit8cd4bd5f708b69d536395675da4fce18d7f9c3f3 (patch)
tree9373aabdda0f00bd457b48ef9548bdcb758b7205 /apt-pkg/solver3.h
parent74636b64a7ee56637a3ce4ddc1d060ca9f8b77e1 (diff)
solver3: Do not lose notion that we backtracked
Record a silly string if we backtracked such that we are aware of it. We need to handle this in a broader fashion, but this was at least breaking test-apt-never-markauto-sections with remove-manual LP: #2129819
Diffstat (limited to 'apt-pkg/solver3.h')
-rw-r--r--apt-pkg/solver3.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/apt-pkg/solver3.h b/apt-pkg/solver3.h
index 8d834b313..5590df5cc 100644
--- a/apt-pkg/solver3.h
+++ b/apt-pkg/solver3.h
@@ -477,6 +477,8 @@ struct APT::Solver::State
// Vars < 0 are package ID, reasons > 0 are version IDs.
const Clause *reason{};
+ const char *reasonStr{};
+
// \brief The depth at which the decision has been taken
depth_type depth{0};