diff options
| author | Julian Andres Klode <julian.klode@canonical.com> | 2025-02-03 15:31:47 +0100 |
|---|---|---|
| committer | Julian Andres Klode <julian.klode@canonical.com> | 2025-02-07 20:59:42 +0100 |
| commit | 52d0baba388a21205b323153a0d83dc6ae75bbf0 (patch) | |
| tree | 5e4a4db1aa5ad5d78b643585522bc1520b30ee84 /apt-pkg/solver3.h | |
| parent | a186a14bdc914a0d12130b55f1f62c179c7e2086 (diff) | |
solver3: Drop unused upgrade flag
This was leftover from before the groups were added.
Diffstat (limited to 'apt-pkg/solver3.h')
| -rw-r--r-- | apt-pkg/solver3.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/apt-pkg/solver3.h b/apt-pkg/solver3.h index 4f6f83d15..282e8865b 100644 --- a/apt-pkg/solver3.h +++ b/apt-pkg/solver3.h @@ -291,8 +291,6 @@ struct APT::Solver::Work // \brief Whether this is an optional work item, they will be processed last bool optional; - // \brief Whether this is an ugprade - bool upgrade; // \brief This item should be removed from the queue. bool erased; @@ -300,7 +298,7 @@ struct APT::Solver::Work // \brief Dump the work item to std::cerr void Dump(pkgCache &cache); - inline Work(Var reason, depth_type depth, Group group, bool optional = false, bool upgrade = false) : reason(reason), depth(depth), group(group), size(0), optional(optional), upgrade(upgrade), erased(false) {} + inline Work(Var reason, depth_type depth, Group group, bool optional = false) : reason(reason), depth(depth), group(group), size(0), optional(optional), erased(false) {} }; // \brief This essentially describes the install state in RFC2119 terms. |
