aboutsummaryrefslogtreecommitdiff
path: root/paludis/resolver/decider.cc
diff options
context:
space:
mode:
Diffstat (limited to 'paludis/resolver/decider.cc')
-rw-r--r--paludis/resolver/decider.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/paludis/resolver/decider.cc b/paludis/resolver/decider.cc
index f2a7f115f..010139801 100644
--- a/paludis/resolver/decider.cc
+++ b/paludis/resolver/decider.cc
@@ -933,8 +933,7 @@ Decider::_made_wrong_decision(
adapted_resolution, _imp->fns.allow_choice_changes_fn()(resolution), false, true, false, true));
if (decision)
{
- resolution->decision()->accept(WrongDecisionVisitor(std::bind(
- &Decider::_suggest_restart_with, this, resolution, constraint, decision)));
+ resolution->decision()->accept(WrongDecisionVisitor([&] () { _suggest_restart_with(resolution, constraint, decision); }));
resolution->decision() = decision;
}
else