Index: src/heap/heap.h |
diff --git a/src/heap/heap.h b/src/heap/heap.h |
index 2f9bf0c2fe5e6ac74504c35523cd08caaed47a76..2f32a10df53bcf50379bffda4371d935cbb0664a 100644 |
--- a/src/heap/heap.h |
+++ b/src/heap/heap.h |
@@ -2138,7 +2138,7 @@ class Heap { |
// This is not the depth of nested AlwaysAllocateScope's but rather a single |
// count, as scopes can be acquired from multiple tasks (read: threads). |
- AtomicValue always_allocate_scope_count_; |
+ AtomicValue<size_t> always_allocate_scope_count_; |
// For keeping track of context disposals. |
int contexts_disposed_; |