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/dist | |
parent | 6cc8301e4fb819393c1245cea0fbfb89e69b90b4 (diff) |
Variables
Diffstat (limited to 'libbuild2/dist')
-rw-r--r-- | libbuild2/dist/operation.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libbuild2/dist/operation.cxx b/libbuild2/dist/operation.cxx index 6db3626..2367329 100644 --- a/libbuild2/dist/operation.cxx +++ b/libbuild2/dist/operation.cxx @@ -228,7 +228,7 @@ namespace build2 // The same for subprojects that have been loaded. // - if (auto l = rs->vars[var_subprojects]) + if (auto l = rs->vars[ctx.var_subprojects]) { for (auto p: cast<subprojects> (l)) { @@ -369,7 +369,7 @@ namespace build2 const scope* srs (rs); const module::callbacks* cbs (&mod.callbacks_); - if (auto l = rs->vars[var_subprojects]) + if (auto l = rs->vars[ctx.var_subprojects]) { for (auto p: cast<subprojects> (l)) { |