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.cc9
1 files changed, 6 insertions, 3 deletions
diff --git a/paludis/resolver/decider.cc b/paludis/resolver/decider.cc
index e937a2dfd..15e4bb933 100644
--- a/paludis/resolver/decider.cc
+++ b/paludis/resolver/decider.cc
@@ -1163,7 +1163,7 @@ Decider::_add_dependencies_if_necessary(
{
Context context_2("When handling dependency '" + stringify(s->spec()) + "':");
- SpecInterest interest(_interest_in_spec(our_resolution, *s));
+ SpecInterest interest(_interest_in_spec(our_resolution, package_id, *s));
switch (interest)
{
@@ -1206,9 +1206,12 @@ Decider::_add_dependencies_if_necessary(
}
SpecInterest
-Decider::_interest_in_spec(const std::shared_ptr<const Resolution> & resolution, const SanitisedDependency & dep) const
+Decider::_interest_in_spec(
+ const std::shared_ptr<const Resolution> & resolution,
+ const std::shared_ptr<const PackageID> & id,
+ const SanitisedDependency & dep) const
{
- return _imp->fns.interest_in_spec_fn()(resolution, dep);
+ return _imp->fns.interest_in_spec_fn()(resolution, id, dep);
}
const std::shared_ptr<Constraints>