diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2019-08-23 08:02:15 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2019-08-23 08:02:15 +0200 |
commit | 6cc8301e4fb819393c1245cea0fbfb89e69b90b4 (patch) | |
tree | 33e20e06841b107600dfa9bce551ef9d723be497 /libbuild2/test | |
parent | 604cef5bc09a2c4631eb3948dd788381dc5b4edb (diff) |
Meta/operations and counts
Diffstat (limited to 'libbuild2/test')
-rw-r--r-- | libbuild2/test/rule.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
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, |