aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2019-10-22 13:36:33 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2019-10-22 13:36:33 +0200
commit5483f5f54146ef6486db93a9a1c45b967d59c384 (patch)
tree77c3d9ae87f4d3a3239c693b5aa6ba1971d9761e
parentbed4a6152b8d2c2b3a1f5636a4c6a3848a24080a (diff)
Minor fixes
-rw-r--r--libbuild2/file.cxx2
-rw-r--r--libbuild2/module.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/libbuild2/file.cxx b/libbuild2/file.cxx
index 68827ec..603943c 100644
--- a/libbuild2/file.cxx
+++ b/libbuild2/file.cxx
@@ -1290,7 +1290,7 @@ namespace build2
// over anything that we may discover. In particular, we will prefer it
// over any bundled subprojects.
//
- auto& vp (ibase.ctx.var_pool.rw (iroot));
+ auto& vp (ctx.var_pool.rw (iroot));
for (;;) // Break-out loop.
{
diff --git a/libbuild2/module.cxx b/libbuild2/module.cxx
index c3e4c62..c2fbc14 100644
--- a/libbuild2/module.cxx
+++ b/libbuild2/module.cxx
@@ -493,7 +493,7 @@ namespace build2
// Otherwise search for this module.
//
if (const module_functions* mf = find_module (
- rs, mod, loc, false /* boot */, opt))
+ bs, mod, loc, false /* boot */, opt))
{
if (mf->boot != nullptr)
fail (loc) << "build system module " << mod << " should be loaded "