From ccb417a7c1456427b76914e8a11ca87b4926eeb3 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 28 Jan 2020 08:41:57 +0200 Subject: Use scope::var_pool() --- libbuild2/module.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libbuild2/module.cxx') diff --git a/libbuild2/module.cxx b/libbuild2/module.cxx index 9bc79ab..cc79af0 100644 --- a/libbuild2/module.cxx +++ b/libbuild2/module.cxx @@ -523,7 +523,7 @@ namespace build2 module_state {true, false, mf.init, nullptr, loc}).first; i->second.first = mf.boot (rs, loc, i->second.module); - rs.assign (rs.ctx.var_pool.rw (rs).insert (mod + ".booted")) = true; + rs.assign (rs.var_pool ().insert (mod + ".booted")) = true; } module_state* @@ -574,7 +574,7 @@ namespace build2 // buildfile-visible (where we use the term "load a module"; see the note // on terminology above) // - auto& vp (rs.ctx.var_pool.rw (rs)); + auto& vp (rs.var_pool ()); value& lv (bs.assign (vp.insert (mod + ".loaded"))); value& cv (bs.assign (vp.insert (mod + ".configured"))); -- cgit v1.1