Skip to content

Commit 89c1aa3

Browse files
committed
fixup! process: support hrtime in the snapshot
1 parent 6253cbb commit 89c1aa3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/node_process.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ class BindingData : public SnapshotableObject {
7979
static void SlowBigInt(const v8::FunctionCallbackInfo<v8::Value>& args);
8080

8181
private:
82-
static const size_t kBufferSize =
82+
static constexpr size_t kBufferSize =
8383
std::max(sizeof(uint64_t), sizeof(uint32_t) * 3);
8484
v8::Global<v8::ArrayBuffer> array_buffer_;
8585
std::shared_ptr<v8::BackingStore> backing_store_;

0 commit comments

Comments
 (0)