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/version/rule.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'build2/version/rule.cxx') diff --git a/build2/version/rule.cxx b/build2/version/rule.cxx index d9669da..c5eb56d 100644 --- a/build2/version/rule.cxx +++ b/build2/version/rule.cxx @@ -281,7 +281,7 @@ namespace build2 // Perform substitutions for the project itself (normally the version.* // variables but we allow anything set on the root scope). // - auto subst_self = [&rs, &m] (const location& l, const string& s) + auto subst_self = [&rs] (const location& l, const string& s) { if (lookup x = rs.vars[s]) { -- cgit v1.1