Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion API/hermes/hermes_napi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,7 @@ class NapiStableAddressStack final {
private:
// The size of 64 entries per chunk is arbitrary at this point.
// It can be adjusted depending on perf data.
static const size_t ChunkSize = 64;
static const constexpr size_t ChunkSize = 64;

llvh::SmallVector<std::unique_ptr<T[]>, ChunkSize> storage_;
size_t size_{0};
Expand Down