aboutsummaryrefslogtreecommitdiff
path: root/build/cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-12-16 19:03:08 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-12-16 19:03:08 +0200
commitaded6de920f420b5c36fee1081c795cf8c6c6dc9 (patch)
treeea62cba64fdd01cb8ae0a67611038e9522d6fa4d /build/cxx
parente62aef8ebe4b4b7eb733da6822d7759c0427222b (diff)
Rely on as few C++14 features as possible
Diffstat (limited to 'build/cxx')
-rw-r--r--build/cxx/compile.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/build/cxx/compile.cxx b/build/cxx/compile.cxx
index 2a56fbd..2481b62 100644
--- a/build/cxx/compile.cxx
+++ b/build/cxx/compile.cxx
@@ -514,11 +514,10 @@ namespace build
//
auto g (
make_exception_guard (
- [](target& s)
+ [&s]()
{
info << "while extracting dependencies from " << s;
- },
- s));
+ }));
while (pos != l.size ())
{