aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/context.ixx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2023-04-05 08:07:47 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2023-04-05 08:07:47 +0200
commit2905180c48e4b8974d4dee1949a00fc8e7bcafc6 (patch)
tree0dde0185bcbe36da05200c64ab12bb3b9af528c6 /libbuild2/context.ixx
parent8b9701d2ad76a9a571c445b318557261a4922758 (diff)
Allow creating context with bare minimum of initializations
This is used by bpkg to detect forwarded configurations without incurring the full context creation overhead.
Diffstat (limited to 'libbuild2/context.ixx')
-rw-r--r--libbuild2/context.ixx2
1 files changed, 1 insertions, 1 deletions
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;
}
}