commit | f87e865e5b4ef91ac642f063ba55708359b8294f | [log] [tgz] |
---|---|---|
author | Brad King <brad.king@kitware.com> | Tue Jun 20 15:17:39 2017 -0400 |
committer | Brad King <brad.king@kitware.com> | Thu Sep 14 11:43:31 2017 -0400 |
tree | 11f41e44016c48a840e54d662ea6de4ba4178f0f | |
parent | 87111bff382655075f2577c591745a335f0103c7 [diff] |
Track in Plan whether wanted edges have been scheduled Refactor the `want_` map to track for wanted edges whether they have been scheduled or not. This gives `ScheduleWork` a direct place to keep this information, making the logic more robust and easier to follow. It also future-proofs `ScheduleWork` to avoid repeat scheduling if it is called after an edge has been removed from `ready_` by `FindWork`.