aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-02-05 22:01:58 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-02-05 22:05:31 +0000
commit42248943d543fe6ec9226358ccd8a6887ebee251 (patch)
treef49b9411c3294c148f4f020ef933b5beea716572
parent8f2a1c843d2a1f1dc8c473bd1d6ce1884a78f046 (diff)
downloadpaludis-42248943d543fe6ec9226358ccd8a6887ebee251.tar.gz
paludis-42248943d543fe6ec9226358ccd8a6887ebee251.tar.xz
Blocks are ok with RemoveDecision
-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 a6bf7f0..79e91b7 100644
--- a/paludis/resolver/decider.cc
+++ b/paludis/resolver/decider.cc
@@ -460,7 +460,7 @@ namespace
bool visit(const RemoveDecision &) const
{
- return constraint.nothing_is_fine_too();
+ return constraint.nothing_is_fine_too() || constraint.spec().if_block();
}
};