diff options
Diffstat (limited to 'src/expand.cpp')
-rw-r--r-- | src/expand.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/expand.cpp b/src/expand.cpp index 3c562fa..c0f2f64 100644 --- a/src/expand.cpp +++ b/src/expand.cpp @@ -104,8 +104,8 @@ expand_list(PEnv& penv, const ATuple* e) // No match, try to expand children List ret; - FOREACHP(ATuple::const_iterator, i, e) - ret.push_back(penv.expand(*i)); + for (const auto& i : *e) + ret.push_back(penv.expand(i)); ret.head->loc = e->loc; return ret.head; } |