From 83f8b6a45fc041586819537ca86be2eb534f79b0 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 16 Mar 2017 18:14:16 +0200 Subject: Implement create meta-operation --- build2/scope | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'build2/scope') 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; -- cgit v1.1