aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/cc/pkgconfig.cxx
diff options
context:
space:
mode:
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));