diff options
| author | Julian Andres Klode <julian.klode@canonical.com> | 2024-11-02 12:45:07 +0100 |
|---|---|---|
| committer | Julian Andres Klode <julian.klode@canonical.com> | 2024-12-03 09:44:18 +0100 |
| commit | 8f317d97c9fb821e839342ae445c824207678eb7 (patch) | |
| tree | 17404bfe4fd59c7ee6c18b19e0ade8f42221ff68 /apt-pkg/solver3.h | |
| parent | 3e5977ed7b4e6291fcd67df193a501754ec1de7f (diff) | |
solver3: Reject all non-candidates outright for strict pinning
Reimplement strict pinning by rejecting the non-candidates when
translating the problem from the depcache to the solver. This is
substantially better than restricting the list of alternatives for
an or group to only include allowed ones for debugging purposes,
albeit a bit slower.
Diffstat (limited to 'apt-pkg/solver3.h')
| -rw-r--r-- | apt-pkg/solver3.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/apt-pkg/solver3.h b/apt-pkg/solver3.h index 0e6d0e2f9..a643d5d07 100644 --- a/apt-pkg/solver3.h +++ b/apt-pkg/solver3.h @@ -157,8 +157,6 @@ class Solver bool PropagateInstall(Var var); // \brief Propagate a rejection of a variable bool PropagateReject(Var var); - // \brief Check if a version is allowed by policy. - bool IsAllowedVersion(pkgCache::Version *V); // \brief Return the current depth (choices.size() with casting) depth_type depth() |
