aboutsummaryrefslogtreecommitdiff
path: root/build2/version
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/version
parentb431fdeb5fa72e130c8f05a8ab8f72926de747f1 (diff)
Remove few unused lambda captures
Diffstat (limited to 'build2/version')
-rw-r--r--build2/version/rule.cxx2
1 files changed, 1 insertions, 1 deletions
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])
{