From 2905180c48e4b8974d4dee1949a00fc8e7bcafc6 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 5 Apr 2023 08:07:47 +0200 Subject: Allow creating context with bare minimum of initializations This is used by bpkg to detect forwarded configurations without incurring the full context creation overhead. --- libbuild2/context.ixx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libbuild2/context.ixx') diff --git a/libbuild2/context.ixx b/libbuild2/context.ixx index 95c5416..7b2a405 100644 --- a/libbuild2/context.ixx +++ b/libbuild2/context.ixx @@ -57,7 +57,7 @@ namespace build2 wait () { phase_unlock u (*ctx, phase, true /* delay */); - ctx->sched.wait (start_count, *task_count, u); + ctx->sched->wait (start_count, *task_count, u); task_count = nullptr; } } -- cgit v1.1