summaryrefslogtreecommitdiff
path: root/apt-pkg/solver3.h
diff options
context:
space:
mode:
authorJulian Andres Klode <julian.klode@canonical.com>2025-03-06 20:07:00 +0100
committerJulian Andres Klode <julian.klode@canonical.com>2025-03-06 20:07:00 +0100
commit142d6499b51451d57fc050c71ffcfb8338e02b7e (patch)
treea7ad73940eed3126ce10e3e4e10f9c65edd770f2 /apt-pkg/solver3.h
parent7d5fe59c19edf06cbee3e0b34d71032322907ae6 (diff)
solver3: Support pretty printing clauses
This will print the underlying dependency which is nicer to read.
Diffstat (limited to 'apt-pkg/solver3.h')
-rw-r--r--apt-pkg/solver3.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-pkg/solver3.h b/apt-pkg/solver3.h
index 73ed26030..519f48b13 100644
--- a/apt-pkg/solver3.h
+++ b/apt-pkg/solver3.h
@@ -377,7 +377,7 @@ struct APT::Solver::Clause
inline Clause(Var reason, Group group, bool optional = false, bool negative = false) : reason(reason), group(group), optional(optional), negative(negative) {}
- std::string toString(pkgCache &cache) const;
+ std::string toString(pkgCache &cache, bool pretty = false) const;
};
/**