aboutsummaryrefslogtreecommitdiff
path: root/build2/scope
diff options
context:
space:
mode:
Diffstat (limited to 'build2/scope')
-rw-r--r--build2/scope9
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;