@@ -169,7 +169,8 @@ void HistogramBase::RecordDelta(const FunctionCallbackInfo<Value>& args) {
169169 (*histogram)->RecordDelta();
170170}
171171
172- void HistogramBase::FastRecordDelta(Local<Value> receiver) {
172+ void HistogramBase::FastRecordDelta(Local<Value> unused,
173+ Local<Value> receiver) {
173174 HistogramBase* histogram;
174175 ASSIGN_OR_RETURN_UNWRAP(&histogram, receiver);
175176 (*histogram)->RecordDelta();
@@ -189,7 +190,8 @@ void HistogramBase::Record(const FunctionCallbackInfo<Value>& args) {
189190 (*histogram)->Record(value);
190191}
191192
192- void HistogramBase::FastRecord(Local<Value> receiver,
193+ void HistogramBase::FastRecord(Local<Value> unused,
194+ Local<Value> receiver,
193195 const int64_t value,
194196 FastApiCallbackOptions& options) {
195197 if (value < 1) {
@@ -436,7 +438,9 @@ void IntervalHistogram::Start(const FunctionCallbackInfo<Value>& args) {
436438 histogram->OnStart(args[0]->IsTrue() ? StartFlags::RESET : StartFlags::NONE);
437439}
438440
439- void IntervalHistogram::FastStart(Local<Value> receiver, bool reset) {
441+ void IntervalHistogram::FastStart(Local<Value> unused,
442+ Local<Value> receiver,
443+ bool reset) {
440444 IntervalHistogram* histogram;
441445 ASSIGN_OR_RETURN_UNWRAP(&histogram, receiver);
442446 histogram->OnStart(reset ? StartFlags::RESET : StartFlags::NONE);
@@ -448,7 +452,7 @@ void IntervalHistogram::Stop(const FunctionCallbackInfo<Value>& args) {
448452 histogram->OnStop();
449453}
450454
451- void IntervalHistogram::FastStop(Local<Value> receiver) {
455+ void IntervalHistogram::FastStop(Local<Value> unused, Local<Value> receiver) {
452456 IntervalHistogram* histogram;
453457 ASSIGN_OR_RETURN_UNWRAP(&histogram, receiver);
454458 histogram->OnStop();
@@ -564,42 +568,45 @@ void HistogramImpl::DoReset(const FunctionCallbackInfo<Value>& args) {
564568 (*histogram)->Reset();
565569}
566570
567- void HistogramImpl::FastReset(Local<Value> receiver) {
571+ void HistogramImpl::FastReset(Local<Value> unused, Local<Value> receiver) {
568572 HistogramImpl* histogram = HistogramImpl::FromJSObject(receiver);
569573 (*histogram)->Reset();
570574}
571575
572- double HistogramImpl::FastGetCount(Local<Value> receiver) {
576+ double HistogramImpl::FastGetCount(Local<Value> unused, Local<Value> receiver) {
573577 HistogramImpl* histogram = HistogramImpl::FromJSObject(receiver);
574578 return static_cast<double>((*histogram)->Count());
575579}
576580
577- double HistogramImpl::FastGetMin(Local<Value> receiver) {
581+ double HistogramImpl::FastGetMin(Local<Value> unused, Local<Value> receiver) {
578582 HistogramImpl* histogram = HistogramImpl::FromJSObject(receiver);
579583 return static_cast<double>((*histogram)->Min());
580584}
581585
582- double HistogramImpl::FastGetMax(Local<Value> receiver) {
586+ double HistogramImpl::FastGetMax(Local<Value> unused, Local<Value> receiver) {
583587 HistogramImpl* histogram = HistogramImpl::FromJSObject(receiver);
584588 return static_cast<double>((*histogram)->Max());
585589}
586590
587- double HistogramImpl::FastGetMean(Local<Value> receiver) {
591+ double HistogramImpl::FastGetMean(Local<Value> unused, Local<Value> receiver) {
588592 HistogramImpl* histogram = HistogramImpl::FromJSObject(receiver);
589593 return (*histogram)->Mean();
590594}
591595
592- double HistogramImpl::FastGetExceeds(Local<Value> receiver) {
596+ double HistogramImpl::FastGetExceeds(Local<Value> unused,
597+ Local<Value> receiver) {
593598 HistogramImpl* histogram = HistogramImpl::FromJSObject(receiver);
594599 return static_cast<double>((*histogram)->Exceeds());
595600}
596601
597- double HistogramImpl::FastGetStddev(Local<Value> receiver) {
602+ double HistogramImpl::FastGetStddev(Local<Value> unused,
603+ Local<Value> receiver) {
598604 HistogramImpl* histogram = HistogramImpl::FromJSObject(receiver);
599605 return (*histogram)->Stddev();
600606}
601607
602- double HistogramImpl::FastGetPercentile(Local<Value> receiver,
608+ double HistogramImpl::FastGetPercentile(Local<Value> unused,
609+ Local<Value> receiver,
603610 const double percentile) {
604611 HistogramImpl* histogram = HistogramImpl::FromJSObject(receiver);
605612 return static_cast<double>((*histogram)->Percentile(percentile));
0 commit comments