aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-06-22 16:06:47 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-06-22 16:06:47 +0100
commitcb69a622e2fbb11afb908dbca2c5a9157566320d (patch)
tree8e538520059968536908ba15d38a10d91715da0e
parent379aec4bf1b6d8b10bbb4481bb19f389991ad2a0 (diff)
downloadpaludis-cb69a622e2fbb11afb908dbca2c5a9157566320d.tar.gz
paludis-cb69a622e2fbb11afb908dbca2c5a9157566320d.tar.xz
Track breakages for changes too
-rw-r--r--paludis/resolver/decider.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/paludis/resolver/decider.cc b/paludis/resolver/decider.cc
index 42f9bc7..809e305 100644
--- a/paludis/resolver/decider.cc
+++ b/paludis/resolver/decider.cc
@@ -317,9 +317,11 @@ namespace
std::copy(d.ids()->begin(), d.ids()->end(), going_away->back_inserter());
}
- void visit(const ChangesToMakeDecision &)
+ void visit(const ChangesToMakeDecision & d)
{
- /* todo */
+ std::copy(d.destination()->replacing()->begin(), d.destination()->replacing()->end(),
+ going_away->back_inserter());
+ newly_available->push_back(d.origin_id());
}
void visit(const UnableToMakeDecision &)