aboutsummaryrefslogtreecommitdiff
path: root/loader/loader.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-12-20 05:10:19 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-12-20 05:10:19 +0200
commit2f6fcc01e35dd60ab900924ed7b043f3ccf873d2 (patch)
treef25745e1a07747830b4614f5fae984986d3a0870 /loader/loader.cxx
parent6f4a0ebb21cad18db234ecbe9eebc0a8a440b69f (diff)
Fix Clang errors
Diffstat (limited to 'loader/loader.cxx')
-rw-r--r--loader/loader.cxx8
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.