From 52d0baba388a21205b323153a0d83dc6ae75bbf0 Mon Sep 17 00:00:00 2001 From: Julian Andres Klode Date: Mon, 3 Feb 2025 15:31:47 +0100 Subject: solver3: Drop unused upgrade flag This was leftover from before the groups were added. --- apt-pkg/solver3.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'apt-pkg/solver3.h') 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. -- cgit v1.2.3-70-g09d2