diff options
Diffstat (limited to 'boot/name_analysis.cc')
| -rw-r--r-- | boot/name_analysis.cc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/boot/name_analysis.cc b/boot/name_analysis.cc index 5d5bd34..2ee3da1 100644 --- a/boot/name_analysis.cc +++ b/boot/name_analysis.cc @@ -757,10 +757,10 @@ namespace elna::boot statement->branch().prerequisite().accept(this); visit_block(statement->branch().body); - for (conditional_statements *branch : statement->branches) + for (conditional_statements& branch : statement->branches) { - branch->prerequisite().accept(this); - visit_block(branch->body); + branch.prerequisite().accept(this); + visit_block(branch.body); } if (statement->alternative != nullptr) { @@ -773,10 +773,10 @@ namespace elna::boot statement->branch().prerequisite().accept(this); visit_block(statement->branch().body); - for (conditional_statements *branch : statement->branches) + for (conditional_statements& branch : statement->branches) { - branch->prerequisite().accept(this); - visit_block(branch->body); + branch.prerequisite().accept(this); + visit_block(branch.body); } } |
