aboutsummaryrefslogtreecommitdiff
path: root/build2
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-08-06 18:33:57 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-08-06 18:33:57 +0200
commit0ab708cd50e974cebb9fc99a704dcfc2d4874680 (patch)
tree99648b9a53bf8947086cd4d376cbc776520e3385 /build2
parent97ca7117735044673da6c89ee9dff544a3526f70 (diff)
Get rid of unused lambda capture
Diffstat (limited to 'build2')
-rw-r--r--build2/cc/pkgconfig.cxx6
1 files 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?