diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2021-11-30 13:21:12 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2021-11-30 13:21:12 +0200 |
commit | e7e558bd258e42c8092f8e229ef6ee140dbdc3c7 (patch) | |
tree | 03cf572ef72fef08b84a96d38a0a61ef248896bb | |
parent | 76f1988539c477ad3b906f254654929aec04283c (diff) |
Get rid of unused lambda captures
-rw-r--r-- | libbuild2/adhoc-rule-buildscript.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libbuild2/adhoc-rule-buildscript.cxx b/libbuild2/adhoc-rule-buildscript.cxx index db3be30..0648c3d 100644 --- a/libbuild2/adhoc-rule-buildscript.cxx +++ b/libbuild2/adhoc-rule-buildscript.cxx @@ -571,7 +571,7 @@ namespace build2 // size_t& skip_count (mdb->skip_count); - auto add = [this, &trace, what, + auto add = [&trace, what, a, &bs, &t, &pts, pts_n = mdb->pts_n, &byp, &map_ext, &skip_count, mt] (path fp) -> optional<bool> @@ -618,7 +618,7 @@ namespace build2 }; auto df = make_diag_frame ( - [this, &ll, &t] (const diag_record& dr) + [&ll, &t] (const diag_record& dr) { if (verb != 0) dr << info (ll) << "while extracting dynamic dependencies for " @@ -826,7 +826,7 @@ namespace build2 // // Note that fp is expected to be absolute. // - auto add = [this, &trace, what, + auto add = [&trace, what, a, &bs, &t, &pts, pts_n = md.pts_n, &byp, &map_ext, &dd] (path fp) { @@ -863,7 +863,7 @@ namespace build2 }; auto df = make_diag_frame ( - [this, &ll, &t] (const diag_record& dr) + [&ll, &t] (const diag_record& dr) { if (verb != 0) dr << info (ll) << "while extracting dynamic dependencies for " |