aboutsummaryrefslogtreecommitdiff
path: root/paludis/resolver/decider.cc
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-12-16 23:11:49 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-12-16 23:19:51 +0000
commit48b71ce3fdfa8ecfe304c942f690ca2036720028 (patch)
tree2ccecc67325964d2f9d355c793e52eb529c3868a /paludis/resolver/decider.cc
parentb716a9fddb8e8af4e089b14143e9bd8d1ab28718 (diff)
downloadpaludis-48b71ce3fdfa8ecfe304c942f690ca2036720028.tar.gz
paludis-48b71ce3fdfa8ecfe304c942f690ca2036720028.tar.xz
take from, ignore from can have full IDs
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>