aboutsummaryrefslogtreecommitdiff
path: root/build/cxx
diff options
context:
space:
mode:
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 ())
{