From 5aa9c718cc347f00bc56c86d26015adc3781f5f9 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 12 Jun 2017 14:06:28 +0200 Subject: Remove few unused lambda captures --- build2/cc/install.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'build2/cc/install.cxx') diff --git a/build2/cc/install.cxx b/build2/cc/install.cxx index e09a62f..529a758 100644 --- a/build2/cc/install.cxx +++ b/build2/cc/install.cxx @@ -97,7 +97,7 @@ namespace build2 // auto& lp (t.data ()); - auto ln = [&id, this] (const path& f, const path& l) + auto ln = [&id] (const path& f, const path& l) { install_l (id, f.leaf (), l.leaf (), false); }; @@ -125,7 +125,7 @@ namespace build2 // auto& lp (t.data ()); - auto rm = [&id, this] (const path& l) + auto rm = [&id] (const path& l) { return uninstall_f (id, nullptr, l.leaf (), false); }; -- cgit v1.1