aboutsummaryrefslogtreecommitdiff
path: root/libbuild2
diff options
context:
space:
mode:
Diffstat (limited to 'libbuild2')
-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.