aboutsummaryrefslogtreecommitdiff
path: root/lib/tsan/rtl/tsan_dense_alloc.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/tsan/rtl/tsan_dense_alloc.h')
-rw-r--r--lib/tsan/rtl/tsan_dense_alloc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tsan/rtl/tsan_dense_alloc.h b/lib/tsan/rtl/tsan_dense_alloc.h
index a1cf84b8f166..e9815c90a953 100644
--- a/lib/tsan/rtl/tsan_dense_alloc.h
+++ b/lib/tsan/rtl/tsan_dense_alloc.h
@@ -108,7 +108,7 @@ class DenseSlabAlloc {
// Reserve 0 as invalid index.
IndexT start = fillpos_ == 0 ? 1 : 0;
for (IndexT i = start; i < kL2Size; i++) {
- new(batch + i) T();
+ new(batch + i) T;
*(IndexT*)(batch + i) = i + 1 + fillpos_ * kL2Size;
}
*(IndexT*)(batch + kL2Size - 1) = 0;