We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 25aa541 commit 626bc24Copy full SHA for 626bc24
API/hermes/hermes_napi.cpp
@@ -463,7 +463,7 @@ class NapiStableAddressStack final {
463
private:
464
// The size of 64 entries per chunk is arbitrary at this point.
465
// It can be adjusted depending on perf data.
466
- static const size_t ChunkSize = 64;
+ static const constexpr size_t ChunkSize = 64;
467
468
llvh::SmallVector<std::unique_ptr<T[]>, ChunkSize> storage_;
469
size_t size_{0};
0 commit comments