summaryrefslogtreecommitdiff
path: root/apt-pkg/solver3.h
diff options
context:
space:
mode:
Diffstat (limited to 'apt-pkg/solver3.h')
-rw-r--r--apt-pkg/solver3.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/apt-pkg/solver3.h b/apt-pkg/solver3.h
index 118ea5e28..fc68a5cef 100644
--- a/apt-pkg/solver3.h
+++ b/apt-pkg/solver3.h
@@ -317,8 +317,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) {}
- // \brief Dump the clause to std::cerr
- void Dump(pkgCache &cache);
+ std::string toString(pkgCache &cache);
};
/**
@@ -352,8 +351,7 @@ struct APT::Solver::Work
bool erased{false};
bool operator<(APT::Solver::Work const &b) const;
- // \brief Dump the work item to std::cerr
- void Dump(pkgCache &cache);
+ std::string toString(pkgCache &cache);
inline Work(Clause clause, depth_type depth) : clause(std::move(clause)), depth(depth) {}
};