diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2019-10-15 10:33:00 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2019-10-15 10:35:09 +0200 |
commit | 668141bba74248d25a4ecc54d2d201ed2e653e3d (patch) | |
tree | 6b5eef5be1cc82c07a9ac129ee9906a038ccf032 | |
parent | 11da36a086d4eff730653f368aa01382fbc753ce (diff) |
Remove no longer used lambda capture
-rw-r--r-- | libbuild2/cc/compile-rule.cxx | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/libbuild2/cc/compile-rule.cxx b/libbuild2/cc/compile-rule.cxx index 9a534c7..c29769f 100644 --- a/libbuild2/cc/compile-rule.cxx +++ b/libbuild2/cc/compile-rule.cxx @@ -2546,8 +2546,6 @@ namespace build2 dr << info << "while extracting header dependencies from " << src; }); - const scope& rs (*bs.root_scope ()); - // Preprocesor mode that preserves as much information as possible while // still performing inclusions. Also serves as a flag indicating whether // this compiler uses the separate preprocess and compile setup. @@ -2749,8 +2747,7 @@ namespace build2 // pointer to the temporary file path otherwise. // auto init_args = [a, &t, ot, li, reprocess, - &src, &md, &psrc, &sense_diag, &mod_mapper, - &rs, &bs, + &src, &md, &psrc, &sense_diag, &mod_mapper, &bs, pp, &env, &args, &args_gen, &args_i, &out, &drm, &so_map, this] (bool& gen) -> const path* |