diff --git a/ConflictSet.cpp b/ConflictSet.cpp index f1462e4..58f7c45 100644 --- a/ConflictSet.cpp +++ b/ConflictSet.cpp @@ -788,9 +788,9 @@ ConflictSet &ConflictSet::operator=(ConflictSet &&other) noexcept { int main(void) { int64_t writeVersion = 0; ConflictSet::Impl cs{writeVersion}; - constexpr int kNumKeys = 5; - ConflictSet::WriteRange write[kNumKeys]; Arena arena; + constexpr int kNumKeys = 100; + auto *write = new (arena) ConflictSet::WriteRange[kNumKeys]; for (int i = 0; i < kNumKeys; ++i) { write[i].begin = toKey(arena, i); write[i].end.len = 0;