diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2019-08-23 09:46:11 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2019-08-23 09:46:11 +0200 |
commit | 421d0a4d1a7786e90407072b378cc060d325907d (patch) | |
tree | 881b02405e74c11c74979bc6cd5df4f313c209cf /libbuild2/scope.ixx | |
parent | 6cc8301e4fb819393c1245cea0fbfb89e69b90b4 (diff) |
Variables
Diffstat (limited to 'libbuild2/scope.ixx')
-rw-r--r-- | libbuild2/scope.ixx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libbuild2/scope.ixx b/libbuild2/scope.ixx index aa1247f..14907d3 100644 --- a/libbuild2/scope.ixx +++ b/libbuild2/scope.ixx @@ -83,9 +83,9 @@ namespace build2 } inline const project_name& - project (const scope& root) + project (const scope& rs) { - auto l (root[var_project]); + auto l (rs[rs.ctx.var_project]); return l ? cast<project_name> (l) : empty_project_name; } } |