diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2021-02-08 13:17:23 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2021-02-08 13:17:23 +0200 |
commit | f59065dd443f43b8e99931c001e03283c20e9c63 (patch) | |
tree | e1449af8fd078a98a91d124f5c7e4a16d2981033 /libbuild2 | |
parent | 435b3e43dd054a716b3fc67fc34b43267f8e9809 (diff) |
Get rid of unused lambda capture
Diffstat (limited to 'libbuild2')
-rw-r--r-- | libbuild2/cc/compile-rule.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libbuild2/cc/compile-rule.cxx b/libbuild2/cc/compile-rule.cxx index c9d2652..2c53a62 100644 --- a/libbuild2/cc/compile-rule.cxx +++ b/libbuild2/cc/compile-rule.cxx @@ -6289,7 +6289,7 @@ namespace build2 // if (lt == nullptr) { - auto set = [this, &bs, &as, &tt, &bt] (const variable& var) + auto set = [&bs, &as, &tt, &bt] (const variable& var) { // Avoid duplicating the options if they are from the same // amalgamation as the sidebuild. |