aboutsummaryrefslogtreecommitdiff
path: root/build2/scope.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-01-30 15:37:10 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-02-13 12:42:41 +0200
commit450c5c09ed7898a800bf5c9328799a43aba78e48 (patch)
tree684d82e370570bd80b0c2f377b2fbe3b922d007f /build2/scope.cxx
parent1f543f6eb368c3b23aa1f9cd2d23f0dba1456dec (diff)
Add global flag to variable_map
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.