aboutsummaryrefslogtreecommitdiff
path: root/paludis/resolver/decider.cc
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2014-03-06 19:02:29 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2014-03-06 19:02:29 +0000
commit12e3419717f48a544b5fe79ab0a166ad0208e778 (patch)
treeaaf6e033d6f12cd793b310d24c8ac2350e67371d /paludis/resolver/decider.cc
parentdc5ee49682b15d687b185401ee606fc08f75c6c8 (diff)
downloadpaludis-12e3419717f48a544b5fe79ab0a166ad0208e778.tar.gz
paludis-12e3419717f48a544b5fe79ab0a166ad0208e778.tar.xz
Fix segfault
Diffstat (limited to 'paludis/resolver/decider.cc')
-rw-r--r--paludis/resolver/decider.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/paludis/resolver/decider.cc b/paludis/resolver/decider.cc
index 8e24af4ab..21a5c78e7 100644
--- a/paludis/resolver/decider.cc
+++ b/paludis/resolver/decider.cc
@@ -1235,7 +1235,7 @@ Decider::find_any_score(
/* explicit preferences come first */
if (spec.package_ptr())
{
- Tribool prefer_or_avoid(_imp->fns.prefer_or_avoid_fn()(spec));
+ Tribool prefer_or_avoid(_imp->fns.prefer_or_avoid_fn()(spec, our_id));
if (prefer_or_avoid.is_true())
return std::make_pair(is_block ? acs_avoid : acs_prefer, operator_bias);
else if (prefer_or_avoid.is_false())