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/install/utility.cxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libbuild2/install') diff --git a/libbuild2/install/utility.cxx b/libbuild2/install/utility.cxx index 17b1365..c2a581e 100644 --- a/libbuild2/install/utility.cxx +++ b/libbuild2/install/utility.cxx @@ -12,6 +12,8 @@ namespace build2 { context& ctx (t.ctx); + // Note: go straight for the public variable pool. + // const variable& var (*ctx.var_pool.find ("config.install.scope")); if (const string* s = cast_null (ctx.global_scope[var])) -- cgit v1.1