From 19af3f6b0873a92582e4787a87a6f14df53ff6ae Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 10 Oct 2022 18:22:31 +0200 Subject: Preparatory work for public/private variable distinction We still always use the public var_pool from context but where required, all access now goes through scope::var_pool(). --- libbuild2/scope.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libbuild2/scope.cxx') diff --git a/libbuild2/scope.cxx b/libbuild2/scope.cxx index 74f212e..5811bd1 100644 --- a/libbuild2/scope.cxx +++ b/libbuild2/scope.cxx @@ -33,7 +33,7 @@ namespace build2 // scope:: scope (context& c, bool shared) - : ctx (c), vars (c, shared), target_vars (c, shared) + : ctx (c), vars (*this, shared), target_vars (c, shared) { } -- cgit v1.1