Skip to content

Commit

Permalink
fixup! process: support hrtime in the snapshot
Browse files Browse the repository at this point in the history
  • Loading branch information
joyeecheung committed Nov 2, 2021
1 parent 6253cbb commit 89c1aa3
Showing 1 changed file with 1 addition and 1 deletion.
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

0 comments on commit 89c1aa3

Please sign in to comment.