From f59065dd443f43b8e99931c001e03283c20e9c63 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 8 Feb 2021 13:17:23 +0200 Subject: Get rid of unused lambda capture --- libbuild2/cc/compile-rule.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. -- cgit v1.1