diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2022-10-10 07:20:49 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2022-10-10 07:20:49 +0200 |
commit | 9f95a23eae04680559a9cb943fdfaa00f52cd66e (patch) | |
tree | ce65f5257e129a30781f8221982257de3b343903 /libbuild2/scope.cxx | |
parent | 66e7100be28e6758b65592120f47e1965301c12d (diff) |
Use term shared instead of global for scope, var pool, etc
Diffstat (limited to 'libbuild2/scope.cxx')
-rw-r--r-- | libbuild2/scope.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libbuild2/scope.cxx b/libbuild2/scope.cxx index 814d876..74f212e 100644 --- a/libbuild2/scope.cxx +++ b/libbuild2/scope.cxx @@ -32,8 +32,8 @@ namespace build2 // scope // scope:: - scope (context& c, bool global) - : ctx (c), vars (c, global), target_vars (c, global) + scope (context& c, bool shared) + : ctx (c), vars (c, shared), target_vars (c, shared) { } @@ -1028,7 +1028,7 @@ namespace build2 if (er.first->second.front () == nullptr) { - er.first->second.front () = new scope (ctx, true /* global */); + er.first->second.front () = new scope (ctx, true /* shared */); er.second = true; } |