aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/variable.txx
diff options
context:
space:
mode:
Diffstat (limited to 'libbuild2/variable.txx')
-rw-r--r--libbuild2/variable.txx4
1 files changed, 2 insertions, 2 deletions
diff --git a/libbuild2/variable.txx b/libbuild2/variable.txx
index 2950ea0..2c1265a 100644
--- a/libbuild2/variable.txx
+++ b/libbuild2/variable.txx
@@ -1019,8 +1019,8 @@ namespace build2
: 0);
shared_mutex& m (
- ctx.mutexes.variable_cache[
- hash<variable_cache*> () (this) % ctx.mutexes.variable_cache_size]);
+ ctx.mutexes->variable_cache[
+ hash<variable_cache*> () (this) % ctx.mutexes->variable_cache_size]);
slock sl (m);
ulock ul (m, defer_lock);