Skip to content

Commit 626bc24

Browse files
committed
fix: building for debug mode
1 parent 25aa541 commit 626bc24

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

API/hermes/hermes_napi.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -463,7 +463,7 @@ class NapiStableAddressStack final {
463463
private:
464464
// The size of 64 entries per chunk is arbitrary at this point.
465465
// It can be adjusted depending on perf data.
466-
static const size_t ChunkSize = 64;
466+
static const constexpr size_t ChunkSize = 64;
467467

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

0 commit comments

Comments
 (0)