From 626bc24fa52437ba743b36c936146be15eab3453 Mon Sep 17 00:00:00 2001 From: Jamie Birch <14055146+shirakaba@users.noreply.github.com> Date: Wed, 6 Sep 2023 10:09:00 +0900 Subject: [PATCH] fix: building for debug mode --- API/hermes/hermes_napi.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/API/hermes/hermes_napi.cpp b/API/hermes/hermes_napi.cpp index 1b70224ce88..7d66c33a58d 100644 --- a/API/hermes/hermes_napi.cpp +++ b/API/hermes/hermes_napi.cpp @@ -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, ChunkSize> storage_; size_t size_{0};