Index: src/heap/heap.h |
diff --git a/src/heap/heap.h b/src/heap/heap.h |
index 2f9bf0c2fe5e6ac74504c35523cd08caaed47a76..f451d4aaeec5ec17778c7f43969d26291747df46 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_; |
+ AtomicNumber<size_t> always_allocate_scope_count_; |
// For keeping track of context disposals. |
int contexts_disposed_; |