summaryrefslogtreecommitdiff
path: root/apt-pkg/solver3.h
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2025-12-22 22:40:12 +0100
committerJulian Andres Klode <jak@debian.org>2026-01-05 21:20:24 +0000
commitbd0738fdd9aff3016230b3b5466e9498c58e4fb8 (patch)
tree00019371a63e37111e703c67c385e36942cf1347 /apt-pkg/solver3.h
parente92750f895af0e957d297c17149878235467cca1 (diff)
solver3: Reorder the source code
Move the DependencySolver methods and their helpers to the end of the file.
Diffstat (limited to 'apt-pkg/solver3.h')
-rw-r--r--apt-pkg/solver3.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/apt-pkg/solver3.h b/apt-pkg/solver3.h
index 9faa97079..23ae49297 100644
--- a/apt-pkg/solver3.h
+++ b/apt-pkg/solver3.h
@@ -277,7 +277,6 @@ inline LiftedBool operator~(LiftedBool decision)
class Solver
{
protected:
- struct CompareProviders3;
struct State;
struct Work;
struct Trail;
@@ -421,7 +420,7 @@ class Solver
*/
class DependencySolver : public Solver
{
- friend class Solver::CompareProviders3;
+ friend class CompareProviders3;
// Policy is needed for determining candidate version.
pkgDepCache::Policy &policy;