Remove superfluous "has" function

This commit is contained in:
Eelco Dolstra
2015-11-02 14:29:12 +01:00
parent a5879cbeb8
commit c087472c71
3 changed files with 2 additions and 9 deletions

View File

@ -249,7 +249,7 @@ void getDependents(Step::ptr step, std::set<Build::ptr> & builds, std::set<Step:
std::function<void(Step::ptr)> visit;
visit = [&](Step::ptr step) {
if (has(steps, step)) return;
if (steps.count(step)) return;
steps.insert(step);
std::vector<Step::wptr> rdeps;