Fix dependency resolution on resolvable removable

ResolvableFamily::RemoveResolvable(): Move the resolvable's dependencies
to the update list.
This commit is contained in:
Ingo Weinhold 2011-06-26 02:27:38 +02:00
parent 5165b6b1d8
commit 835ecf5aca

View File

@ -43,6 +43,9 @@ ResolvableFamily::RemoveResolvable(Resolvable* resolvable,
{ {
resolvable->SetFamily(NULL); resolvable->SetFamily(NULL);
fResolvables.Remove(resolvable); fResolvables.Remove(resolvable);
// the removed resolvable's dependencies need to be updated
resolvable->MoveDependencies(dependenciesToUpdate);
} }