aboutsummaryrefslogtreecommitdiff
path: root/build2/scope.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'build2/scope.cxx')
-rw-r--r--build2/scope.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/build2/scope.cxx b/build2/scope.cxx
index 8d0841b..9514817 100644
--- a/build2/scope.cxx
+++ b/build2/scope.cxx
@@ -701,7 +701,7 @@ namespace build2
{
scope_map_base& m (*this);
- auto er (m.emplace (k, scope ()));
+ auto er (m.emplace (k, scope (true))); // Global.
scope& s (er.first->second);
// If this is a new scope, update the parent chain.