diff options
Diffstat (limited to 'build2/test/script/parser.cxx')
-rw-r--r-- | build2/test/script/parser.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/build2/test/script/parser.cxx b/build2/test/script/parser.cxx index 69fe979..d3cab0a 100644 --- a/build2/test/script/parser.cxx +++ b/build2/test/script/parser.cxx @@ -3018,18 +3018,18 @@ namespace build2 // const diag_frame* df (diag_frame::stack); // UBSan workaround. if (!sched.async (task_count, - [] (scope& s, + [] (const diag_frame* ds, + scope& s, script& scr, - runner& r, - const diag_frame* ds) + runner& r) { - diag_frame df (ds); + diag_frame::stack_guard dsg (ds); execute_impl (s, scr, r); }, + df, ref (*chain), ref (*script_), - ref (*runner_), - df)) + ref (*runner_))) { // Bail out if the scope has failed and we weren't instructed // to keep going. |