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.cc11
1 files changed, 1 insertions, 10 deletions
diff --git a/paludis/resolver/decider.cc b/paludis/resolver/decider.cc
index 5cce32683..1e3bf89d5 100644
--- a/paludis/resolver/decider.cc
+++ b/paludis/resolver/decider.cc
@@ -248,7 +248,7 @@ Decider::_resolve_dependents()
changed = true;
const std::shared_ptr<Resolution> resolution(_resolution_for_resolvent(resolvent, true));
- const std::shared_ptr<const ConstraintSequence> constraints(_make_constraints_for_dependent(
+ const std::shared_ptr<const ConstraintSequence> constraints(_imp->fns.get_constraints_for_dependent_fn()(
resolution, *s, dependent_upon_ids));
for (ConstraintSequence::ConstIterator c(constraints->begin()), c_end(constraints->end()) ;
c != c_end ; ++c)
@@ -272,15 +272,6 @@ Decider::_resolve_dependents()
return changed;
}
-const std::shared_ptr<ConstraintSequence>
-Decider::_make_constraints_for_dependent(
- const std::shared_ptr<const Resolution> & resolution,
- const std::shared_ptr<const PackageID> & id,
- const std::shared_ptr<const ChangeByResolventSequence> & r) const
-{
- return _imp->fns.get_constraints_for_dependent_fn()(resolution, id, r);
-}
-
namespace
{
const std::shared_ptr<const PackageID> get_change_by_resolvent_id(const ChangeByResolvent & r)