From f264a2e81ef9ce80c302757c5900b55d9140af2b Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 20 Oct 2023 09:43:20 +0200 Subject: WIP: drag options up the stack --- libbuild2/scheduler.txx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libbuild2/scheduler.txx') diff --git a/libbuild2/scheduler.txx b/libbuild2/scheduler.txx index 5c6b339..460c4d4 100644 --- a/libbuild2/scheduler.txx +++ b/libbuild2/scheduler.txx @@ -64,8 +64,8 @@ namespace build2 new (&td->data) task { &task_count, start_count, - decay_copy (forward (f)), - typename task::args_type (decay_copy (forward (a))...)}; + typename task::args_type (decay_copy (forward (a))...), + decay_copy (forward (f))}; td->thunk = &task_thunk; -- cgit v1.1