aboutsummaryrefslogtreecommitdiff
path: root/unit-tests/function/driver.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'unit-tests/function/driver.cxx')
-rw-r--r--unit-tests/function/driver.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/unit-tests/function/driver.cxx b/unit-tests/function/driver.cxx
index 2f605b0..4fbbdb6 100644
--- a/unit-tests/function/driver.cxx
+++ b/unit-tests/function/driver.cxx
@@ -26,7 +26,9 @@ namespace build2
main (int, char* argv[])
{
init (argv[0], 1); // Fake build system driver, default verbosity.
- reset (strings ()); // No command line variables.
+
+ ulock ml (model);
+ reset (ml, strings ()); // No command line variables.
function_family f ("dummy");