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.cc10
1 files changed, 1 insertions, 9 deletions
diff --git a/paludis/resolver/decider.cc b/paludis/resolver/decider.cc
index 1e3bf89..ffb7354 100644
--- a/paludis/resolver/decider.cc
+++ b/paludis/resolver/decider.cc
@@ -417,7 +417,7 @@ Decider::_make_destination_for(
const std::shared_ptr<const Resolution> & resolution,
const ChangesToMakeDecision & decision) const
{
- const std::shared_ptr<const Repository> repo(_find_repository_for(resolution, decision));
+ const std::shared_ptr<const Repository> repo(_imp->fns.find_repository_for_fn()(resolution, decision));
if ((! repo->destination_interface()) ||
(! repo->destination_interface()->is_suitable_destination_for(decision.origin_id())))
throw InternalError(PALUDIS_HERE, stringify(repo->name()) + " is not a suitable destination for "
@@ -475,14 +475,6 @@ Decider::_make_change_type_for(
}
}
-const std::shared_ptr<const Repository>
-Decider::_find_repository_for(
- const std::shared_ptr<const Resolution> & resolution,
- const ChangesToMakeDecision & decision) const
-{
- return _imp->fns.find_repository_for_fn()(resolution, decision);
-}
-
FilteredGenerator
Decider::_make_destination_filtered_generator(const Generator & g,
const std::shared_ptr<const Resolution> & resolution) const