0
0
mirror of https://github.com/termux/termux-packages.git synced 2025-01-06 02:26:34 +00:00
termux-packages/packages/aptitude/0102-non-static-member-access-in-nested-type.patch
Chongyun Lee a734bf2478 new package: aptitude
Co-Authored-By: kawanakaiku <80381779+kawanakaiku@users.noreply.github.com>
2024-01-08 06:55:43 +08:00

14 lines
509 B
Diff

error: use of non-static data member 'graph' of 'generic_problem_resolver' from nested type 'do_process_promotion'
--- a/src/generic/problemresolver/problemresolver.h
+++ b/src/generic/problemresolver/problemresolver.h
@@ -1722,7 +1722,7 @@
void active(int step_num) const
{
- step &s = graph.get_step(step_num);
+ step &s = resolver.graph.get_step(step_num);
resolver.increase_effective_step_cost(s, p);
resolver.graph.schedule_promotion_propagation(step_num, p);
}