aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/variable.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'libbuild2/variable.cxx')
-rw-r--r--libbuild2/variable.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/libbuild2/variable.cxx b/libbuild2/variable.cxx
index 1fe9914..643a061 100644
--- a/libbuild2/variable.cxx
+++ b/libbuild2/variable.cxx
@@ -367,8 +367,8 @@ namespace build2
// Typification is kind of like caching so we reuse that mutex shard.
//
shared_mutex& m (
- ctx.mutex_shards.variable_cache[
- hash<value*> () (&v) % ctx.mutex_shards.variable_cache_size]);
+ ctx.mutexes.variable_cache[
+ hash<value*> () (&v) % ctx.mutexes.variable_cache_size]);
// Note: v.type is rechecked by typify() under lock.
//