diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2017-03-16 18:14:16 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2017-03-17 09:37:20 +0200 |
commit | 83f8b6a45fc041586819537ca86be2eb534f79b0 (patch) | |
tree | 863800b9d5bd6a5d76dcdbe107edafca4cbf18fc /build2/scope | |
parent | f57ec74251b31cc532dc095801c1da17a7d8e0ac (diff) |
Implement create meta-operation
Diffstat (limited to 'build2/scope')
-rw-r--r-- | build2/scope | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/build2/scope b/build2/scope index c15d973..1ce28fc 100644 --- a/build2/scope +++ b/build2/scope @@ -260,13 +260,8 @@ namespace build2 scope& global () {return *global_;} - private: - static scope* global_; - - // Entities that can access bypassing the lock proof. - // - friend int main (int, char*[]); - friend variable_overrides reset (const strings&); + public: + static scope* global_; // Normally not accessed directly. private: friend class parser; |