From 50be4c0e935f0018ddc146dafd1ef2cf948ff780 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 12 Feb 2018 13:37:45 +0200 Subject: Fix task_count handling race in scheduler --- build2/algorithm.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'build2/algorithm.cxx') diff --git a/build2/algorithm.cxx b/build2/algorithm.cxx index d39711b..1c5b6a6 100644 --- a/build2/algorithm.cxx +++ b/build2/algorithm.cxx @@ -172,7 +172,7 @@ namespace build2 offset == target::offset_matched); } - return target_lock (a, &t, offset); + return target_lock {a, &t, offset}; } void -- cgit v1.1