aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2021-02-08 13:17:23 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2021-02-08 13:17:23 +0200
commitf59065dd443f43b8e99931c001e03283c20e9c63 (patch)
treee1449af8fd078a98a91d124f5c7e4a16d2981033
parent435b3e43dd054a716b3fc67fc34b43267f8e9809 (diff)
Get rid of unused lambda capture
-rw-r--r--libbuild2/cc/compile-rule.cxx2
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.