aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-06-22 15:38:52 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-06-22 15:38:52 +0100
commit40845fb53a27153b35f8be419050d04b51f1c24b (patch)
treec039dc330f4372ab5d2ae5faf7984f82e43b8a6a
parent95d447ea1c24e0ffefa346e8ca21452c6bfa05d5 (diff)
downloadpaludis-40845fb53a27153b35f8be419050d04b51f1c24b.tar.gz
paludis-40845fb53a27153b35f8be419050d04b51f1c24b.tar.xz
Untaken removes are allowed
-rw-r--r--paludis/resolver/orderer.cc6
1 files changed, 5 insertions, 1 deletions
diff --git a/paludis/resolver/orderer.cc b/paludis/resolver/orderer.cc
index f384ddb..861b22a 100644
--- a/paludis/resolver/orderer.cc
+++ b/paludis/resolver/orderer.cc
@@ -163,7 +163,11 @@ namespace
return true;
}
else
- throw InternalError(PALUDIS_HERE, "untaken RemoveDecision");
+ {
+ resolved->untaken_change_or_remove_decisions()->push_back(
+ std::tr1::static_pointer_cast<const ChangeOrRemoveDecision>(decision));
+ return false;
+ }
}
bool visit(const BreakDecision & d)