diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2022-07-05 13:11:03 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2022-07-05 13:11:03 +0200 |
commit | 6f11e5ec101934b4e83972646fd23c4113cadd73 (patch) | |
tree | 207bbba51e0b69d69346fcbed85cb2ffef9258a9 /libbuild2 | |
parent | cf9d81dbe0eadbadcc81b2565ce73e7eff26f982 (diff) |
Drop unused lambda capture
Diffstat (limited to 'libbuild2')
-rw-r--r-- | libbuild2/cc/pkgconfig.cxx | 3 |
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)); |