aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2019-08-14 14:52:15 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2019-08-14 14:52:15 +0200
commit043eb79a1085cf9df14f35c51428a975c84c9233 (patch)
tree6b07dddc7813ff6c23ae8f48c498a8964e10d2e1
parent948ba4cf498fcc8881a86e545d1e040223274c77 (diff)
Remove no longer used lambda capture
-rw-r--r--build2/cc/windows-rpath.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/build2/cc/windows-rpath.cxx b/build2/cc/windows-rpath.cxx
index 2d2e100..d81e3b0 100644
--- a/build2/cc/windows-rpath.cxx
+++ b/build2/cc/windows-rpath.cxx
@@ -295,7 +295,7 @@ namespace build2
{
const scope& as (t.weak_scope ()); // Amalgamation.
- auto link = [&as, &ad] (const path& f, const path& l)
+ auto link = [&as] (const path& f, const path& l)
{
auto print = [&f, &l] (const char* cmd)
{