diff options
Diffstat (limited to 'build2/scope.cxx')
-rw-r--r-- | build2/scope.cxx | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/build2/scope.cxx b/build2/scope.cxx index 9514817..0c80052 100644 --- a/build2/scope.cxx +++ b/build2/scope.cxx @@ -691,10 +691,15 @@ namespace build2 pr.first->second.get (), pr.second); } + scope* scope::global_; + // scope_map // - scope_map scopes; - scope* global_scope; + scope_map scope_map::instance; + const scope_map& scope_map::cinstance = scope_map::instance; + const scope_map& scopes = scope_map::cinstance; + + const scope* global_scope; auto scope_map:: insert (const dir_path& k, bool root) -> iterator |