aboutsummaryrefslogtreecommitdiff
path: root/build2/cc/common.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-06-12 14:06:28 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-06-12 14:06:28 +0200
commit5aa9c718cc347f00bc56c86d26015adc3781f5f9 (patch)
tree6c18652e1c6aa5cc6489d08c5bf55b4abd996a87 /build2/cc/common.cxx
parentb431fdeb5fa72e130c8f05a8ab8f72926de747f1 (diff)
Remove few unused lambda captures
Diffstat (limited to 'build2/cc/common.cxx')
-rw-r--r--build2/cc/common.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/build2/cc/common.cxx b/build2/cc/common.cxx
index 1df84c9..b62358e 100644
--- a/build2/cc/common.cxx
+++ b/build2/cc/common.cxx
@@ -204,7 +204,7 @@ namespace build2
: var_pool[*t + ".sys_lib_dirs"]]);
};
- auto find_lo = [top_lo, t, cc, &bs, &l, &lo, this] ()
+ auto find_lo = [top_lo, t, cc, &bs, &l, &lo] ()
{
lo = (t == nullptr || cc) ? top_lo : link_order (bs, link_type (l));
};
@@ -263,7 +263,7 @@ namespace build2
auto proc_int = [&l,
&proc_impl, &proc_lib, &proc_opt,
&sysd, &usrd,
- &find_sysd, &find_lo, &sys, &sys_simple,
+ &find_sysd, &find_lo, &sys_simple,
&bs, act, &lo, this] (const lookup& lu)
{
const vector<name>* ns (cast_null<vector<name>> (lu));