aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/cc/pkgconfig.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2022-07-05 13:11:03 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2022-07-05 13:11:03 +0200
commit6f11e5ec101934b4e83972646fd23c4113cadd73 (patch)
tree207bbba51e0b69d69346fcbed85cb2ffef9258a9 /libbuild2/cc/pkgconfig.cxx
parentcf9d81dbe0eadbadcc81b2565ce73e7eff26f982 (diff)
Drop unused lambda capture
Diffstat (limited to 'libbuild2/cc/pkgconfig.cxx')
-rw-r--r--libbuild2/cc/pkgconfig.cxx3
1 files changed, 1 insertions, 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<binding> 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));