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.cc8
1 files changed, 1 insertions, 7 deletions
diff --git a/paludis/resolver/decider.cc b/paludis/resolver/decider.cc
index 3ff8bf75b..f5269e6c9 100644
--- a/paludis/resolver/decider.cc
+++ b/paludis/resolver/decider.cc
@@ -239,7 +239,7 @@ Decider::_resolve_dependents()
continue;
Resolvent resolvent(*s, dt_install_to_slash);
- bool remove(_remove_if_dependent(*s));
+ bool remove(_imp->fns.remove_if_dependent_fn()(*s));
/* we've changed things if we've not already done anything for this
* resolvent, but only if we're going to remove it rather than mark it
@@ -1694,12 +1694,6 @@ Decider::_allowed_to_remove(
return id->supports_action(SupportsActionTest<UninstallAction>()) && _imp->fns.allowed_to_remove_fn()(resolution, id);
}
-bool
-Decider::_remove_if_dependent(const std::shared_ptr<const PackageID> & id) const
-{
- return _imp->fns.remove_if_dependent_fn()(id);
-}
-
const std::shared_ptr<const PackageIDSequence>
Decider::_installed_ids(const std::shared_ptr<const Resolution> & resolution) const
{