aboutsummaryrefslogtreecommitdiff
path: root/build2/version/rule.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'build2/version/rule.cxx')
-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])
{