From 0ab708cd50e974cebb9fc99a704dcfc2d4874680 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Sun, 6 Aug 2017 18:33:57 +0200 Subject: Get rid of unused lambda capture --- build2/cc/pkgconfig.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/build2/cc/pkgconfig.cxx b/build2/cc/pkgconfig.cxx index 4a5465d..0071bcd 100644 --- a/build2/cc/pkgconfig.cxx +++ b/build2/cc/pkgconfig.cxx @@ -843,9 +843,9 @@ namespace build2 os << ' ' << p; // Something "system'y", pass as is. }; - auto opt = [&os] (const file&, - const string&, - bool, bool) + auto opt = [] (const file&, + const string&, + bool, bool) { //@@ TODO: should we filter -L similar to -I? //@@ TODO: how will the Libs/Libs.private work? -- cgit v1.1