From 9f95a23eae04680559a9cb943fdfaa00f52cd66e Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 10 Oct 2022 07:20:49 +0200 Subject: Use term shared instead of global for scope, var pool, etc --- libbuild2/scope.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libbuild2/scope.cxx') 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; } -- cgit v1.1