We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6253cbb commit 89c1aa3Copy full SHA for 89c1aa3
1 file changed
src/node_process.h
@@ -79,7 +79,7 @@ class BindingData : public SnapshotableObject {
79
static void SlowBigInt(const v8::FunctionCallbackInfo<v8::Value>& args);
80
81
private:
82
- static const size_t kBufferSize =
+ static constexpr size_t kBufferSize =
83
std::max(sizeof(uint64_t), sizeof(uint32_t) * 3);
84
v8::Global<v8::ArrayBuffer> array_buffer_;
85
std::shared_ptr<v8::BackingStore> backing_store_;
0 commit comments