diff options
Diffstat (limited to 'libbuild2/variable.txx')
-rw-r--r-- | libbuild2/variable.txx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libbuild2/variable.txx b/libbuild2/variable.txx index ed25cb6..041dc94 100644 --- a/libbuild2/variable.txx +++ b/libbuild2/variable.txx @@ -614,8 +614,8 @@ namespace build2 : 0); shared_mutex& m ( - ctx.mutex_shards.variable_cache[ - hash<variable_cache*> () (this) % ctx.mutex_shards.variable_cache_size]); + ctx.mutexes.variable_cache[ + hash<variable_cache*> () (this) % ctx.mutexes.variable_cache_size]); slock sl (m); ulock ul (m, defer_lock); |