From 6cc8301e4fb819393c1245cea0fbfb89e69b90b4 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 23 Aug 2019 08:02:15 +0200 Subject: Meta/operations and counts --- libbuild2/test/rule.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libbuild2/test') diff --git a/libbuild2/test/rule.cxx b/libbuild2/test/rule.cxx index 61bfba4..c4767cf 100644 --- a/libbuild2/test/rule.cxx +++ b/libbuild2/test/rule.cxx @@ -490,7 +490,7 @@ namespace build2 wait_guard wg; if (!dry_run) - wg = wait_guard (t.ctx, target::count_busy (), t[a].task_count); + wg = wait_guard (t.ctx, t.ctx.count_busy (), t[a].task_count); // Result vector. // @@ -538,7 +538,7 @@ namespace build2 { scope_state& r (res.back ()); - if (!sched.async (target::count_busy (), + if (!sched.async (t.ctx.count_busy (), t[a].task_count, [this] (const diag_frame* ds, scope_state& r, -- cgit v1.1