aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/module.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2020-01-28 08:41:57 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2020-01-28 08:41:57 +0200
commitccb417a7c1456427b76914e8a11ca87b4926eeb3 (patch)
treed68803a1a1a013b1bb50f845459d0145c221eb79 /libbuild2/module.cxx
parentc0105aad0074aee0efb3ba41f8132496412f8790 (diff)
Use scope::var_pool()
Diffstat (limited to 'libbuild2/module.cxx')
-rw-r--r--libbuild2/module.cxx4
1 files changed, 2 insertions, 2 deletions
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")));