From b47a323f09f1f9ccece03ca4d84dbe7a47ff8177 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 22 Oct 2019 10:02:23 +0200 Subject: Move global mutex shards to context --- libbuild2/variable.ixx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libbuild2/variable.ixx') diff --git a/libbuild2/variable.ixx b/libbuild2/variable.ixx index e5353ed..d341c26 100644 --- a/libbuild2/variable.ixx +++ b/libbuild2/variable.ixx @@ -772,7 +772,7 @@ namespace build2 else { if (v.type.load (memory_order_acquire) != var.type) - build2::typify_atomic (const_cast (v), *var.type, &var); + typify_atomic (*ctx, const_cast (v), *var.type, &var); } } -- cgit v1.1