From 6f11e5ec101934b4e83972646fd23c4113cadd73 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 5 Jul 2022 13:11:03 +0200 Subject: Drop unused lambda capture --- libbuild2/cc/pkgconfig.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libbuild2/cc/pkgconfig.cxx b/libbuild2/cc/pkgconfig.cxx index 1642180..74c5bdd 100644 --- a/libbuild2/cc/pkgconfig.cxx +++ b/libbuild2/cc/pkgconfig.cxx @@ -1749,8 +1749,7 @@ namespace build2 }; vector vars; - auto append = [this, - &l, &pfx, &vars, + auto append = [&l, &pfx, &vars, tmp = string ()] (const target& t, bool dup) mutable { for (auto p (t.vars.lookup_namespace (pfx)); -- cgit v1.1