aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/install/init.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2020-01-29 09:19:06 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2020-01-29 09:19:06 +0200
commitc4fcbad1cb603756dc4dac65392feb86be1a722d (patch)
treeda9c9c2278c63d20237a7178fde450d7472a59c9 /libbuild2/install/init.cxx
parentccb417a7c1456427b76914e8a11ca87b4926eeb3 (diff)
Rename module_base to module, redo module boot/init argument passing
Diffstat (limited to 'libbuild2/install/init.cxx')
-rw-r--r--libbuild2/install/init.cxx7
1 files changed, 2 insertions, 5 deletions
diff --git a/libbuild2/install/init.cxx b/libbuild2/install/init.cxx
index fdcc627..5aa5b1d 100644
--- a/libbuild2/install/init.cxx
+++ b/libbuild2/install/init.cxx
@@ -129,7 +129,7 @@ namespace build2
functions (function_map&); // functions.cxx
bool
- boot (scope& rs, const location&, unique_ptr<module_base>&)
+ boot (scope& rs, const location&, module_boot_extra&)
{
tracer trace ("install::boot");
l5 ([&]{trace << "for " << rs;});
@@ -174,10 +174,9 @@ namespace build2
init (scope& rs,
scope& bs,
const location& l,
- unique_ptr<module_base>&,
bool first,
bool,
- const variable_map& config_hints)
+ module_init_extra&)
{
tracer trace ("install::init");
@@ -189,8 +188,6 @@ namespace build2
l5 ([&]{trace << "for " << rs;});
- assert (config_hints.empty ()); // We don't known any hints.
-
// Enter module variables.
//
auto& vp (rs.var_pool ());