Skip to content
Closed
Changes from 1 commit
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
Prev Previous commit
fixup! process: support hrtime in the snapshot
  • Loading branch information
joyeecheung committed Nov 1, 2021
commit e520a32dd7e52d93fd577b0121b271c7e2817b94
2 changes: 1 addition & 1 deletion src/node_process.h
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ class BindingData : public SnapshotableObject {
static void SlowBigInt(const v8::FunctionCallbackInfo<v8::Value>& args);

private:
static const size_t kBufferSize =
static constexpr size_t kBufferSize =
std::max(sizeof(uint64_t), sizeof(uint32_t) * 3);
v8::Global<v8::ArrayBuffer> array_buffer_;
std::shared_ptr<v8::BackingStore> backing_store_;
Expand Down