aboutsummaryrefslogtreecommitdiff
path: root/build2/cc/install.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'build2/cc/install.cxx')
-rw-r--r--build2/cc/install.cxx4
1 files changed, 2 insertions, 2 deletions
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<link::libs_paths> ());
- 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<link::libs_paths> ());
- auto rm = [&id, this] (const path& l)
+ auto rm = [&id] (const path& l)
{
return uninstall_f (id, nullptr, l.leaf (), false);
};