aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/function.test.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'libbuild2/function.test.cxx')
-rw-r--r--libbuild2/function.test.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/libbuild2/function.test.cxx b/libbuild2/function.test.cxx
index c4f7fa2..3cf2e7c 100644
--- a/libbuild2/function.test.cxx
+++ b/libbuild2/function.test.cxx
@@ -46,8 +46,8 @@ namespace build2
// Serial execution.
//
scheduler sched (1);
- global_mutex_shards shards (1);
- context ctx (sched, shards);
+ global_mutexes mutexes (1);
+ context ctx (sched, mutexes);
auto& functions (ctx.functions);