diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2020-01-28 08:41:57 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2020-01-28 08:41:57 +0200 |
commit | ccb417a7c1456427b76914e8a11ca87b4926eeb3 (patch) | |
tree | d68803a1a1a013b1bb50f845459d0145c221eb79 /libbuild2/config/init.cxx | |
parent | c0105aad0074aee0efb3ba41f8132496412f8790 (diff) |
Use scope::var_pool()
Diffstat (limited to 'libbuild2/config/init.cxx')
-rw-r--r-- | libbuild2/config/init.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libbuild2/config/init.cxx b/libbuild2/config/init.cxx index 56aed15..a7f3fc3 100644 --- a/libbuild2/config/init.cxx +++ b/libbuild2/config/init.cxx @@ -45,7 +45,7 @@ namespace build2 // not be valid module names (`build`). We also currently treat `import` // as special. // - auto& vp (rs.ctx.var_pool.rw (rs)); + auto& vp (rs.var_pool ()); // While config.config.load (see below) could theoretically be specified // in a buildfile, config.config.save is expected to always be specified @@ -166,7 +166,7 @@ namespace build2 assert (config_hints.empty ()); // We don't known any hints. - auto& vp (rs.ctx.var_pool.rw (rs)); + auto& vp (rs.var_pool ()); auto& c_l (vp.insert<paths> ("config.config.load", true /* ovr */)); auto& c_v (vp.insert<uint64_t> ("config.version", false /*ovr*/)); |