From 5483f5f54146ef6486db93a9a1c45b967d59c384 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 22 Oct 2019 13:36:33 +0200 Subject: Minor fixes --- libbuild2/file.cxx | 2 +- libbuild2/module.cxx | 2 +- 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 " -- cgit v1.1