fix(kernel/trace): fix typo in depends_on
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
parent
dc51d35dc0
commit
c3e87f106f
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ bool depends_on(trace const & t, trace const & d) {
|
|||
std::set<trace_cell *> visited;
|
||||
buffer<trace_cell *> children;
|
||||
todo.push_back(t.raw());
|
||||
while (todo.empty()) {
|
||||
while (!todo.empty()) {
|
||||
trace_cell * curr = todo.back();
|
||||
todo.pop_back();
|
||||
if (curr == d.raw()) {
|
||||
|
|
Loading…
Reference in a new issue