aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/module.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'libbuild2/module.cxx')
-rw-r--r--libbuild2/module.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/libbuild2/module.cxx b/libbuild2/module.cxx
index b5914cd..11e0b4f 100644
--- a/libbuild2/module.cxx
+++ b/libbuild2/module.cxx
@@ -156,6 +156,7 @@ namespace build2
//
ctx.module_context_storage->reset (
new context (ctx.sched,
+ ctx.mutex_shards,
false, /* dry_run */
ctx.keep_going,
ctx.global_var_overrides, /* cmd_vars */
@@ -488,8 +489,8 @@ namespace build2
}
}
- // Note: pattern-typed in context.cxx:reset() as project-visibility
- // variables of type bool.
+ // Note: pattern-typed in context ctor as project-visibility variables of
+ // type bool.
//
// We call the variable 'loaded' rather than 'inited' because it is
// buildfile-visible (where we use the term "load a module"; see the note