mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-04-29 06:30:39 +03:00
C++11 a few loops [NFC]
This commit is contained in:
parent
ee8c6b106b
commit
c77c16ef59
2 changed files with 2 additions and 4 deletions
|
@ -1028,8 +1028,7 @@ DValue *DtoDeclarationExp(Dsymbol *declaration) {
|
|||
}
|
||||
} else if (TemplateMixin *m = declaration->isTemplateMixin()) {
|
||||
Logger::println("TemplateMixin");
|
||||
for (unsigned i = 0; i < m->members->dim; ++i) {
|
||||
Dsymbol *mdsym = static_cast<Dsymbol *>(m->members->data[i]);
|
||||
for (Dsymbol *mdsym : *m->members) {
|
||||
DtoDeclarationExp(mdsym);
|
||||
}
|
||||
} else if (TupleDeclaration *tupled = declaration->isTupleDeclaration()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue