diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2015-12-20 05:10:19 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2015-12-20 05:10:19 +0200 |
commit | 2f6fcc01e35dd60ab900924ed7b043f3ccf873d2 (patch) | |
tree | f25745e1a07747830b4614f5fae984986d3a0870 /loader | |
parent | 6f4a0ebb21cad18db234ecbe9eebc0a8a440b69f (diff) |
Fix Clang errors
Diffstat (limited to 'loader')
-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. |