From 142d6499b51451d57fc050c71ffcfb8338e02b7e Mon Sep 17 00:00:00 2001 From: Julian Andres Klode Date: Thu, 6 Mar 2025 20:07:00 +0100 Subject: solver3: Support pretty printing clauses This will print the underlying dependency which is nicer to read. --- apt-pkg/solver3.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apt-pkg/solver3.h') 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; }; /** -- cgit v1.2.3-70-g09d2