aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/test/rule.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'libbuild2/test/rule.cxx')
-rw-r--r--libbuild2/test/rule.cxx4
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,