diff options
Diffstat (limited to 'loader/loader.cxx')
-rw-r--r-- | loader/loader.cxx | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/loader/loader.cxx b/loader/loader.cxx index 343c810..68f145b 100644 --- a/loader/loader.cxx +++ b/loader/loader.cxx @@ -94,8 +94,12 @@ load_repositories (path p) // Skip until first non-space (true) or space (false). // - auto skip ([&i, &e](bool s = true) -> decltype (i) { - for (; i != e && space (*i) == s; ++i); return i;}); + auto skip = [&i, &e](bool s = true) -> decltype (i) + { + for (; i != e && space (*i) == s; ++i) + ; + return i; + }; skip (); // Skip leading spaces. |