Skip to content

Commit d0ee1a3

Browse files
sam-githubBethGriggs
authored andcommitted
src: fix warning on mismatched fn signature
Add the missing `void* priv` to node_report's Initialize(). PR-URL: #26950 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Yongsheng Zhang <[email protected]> Signed-off-by: Beth Griggs <[email protected]>
1 parent 06dce39 commit d0ee1a3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/node_report_module.cc

+2-1
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,8 @@ static void SetReportOnUncaughtException(
155155

156156
static void Initialize(Local<Object> exports,
157157
Local<Value> unused,
158-
Local<Context> context) {
158+
Local<Context> context,
159+
void* priv) {
159160
Environment* env = Environment::GetCurrent(context);
160161

161162
env->SetMethod(exports, "writeReport", WriteReport);

0 commit comments

Comments
 (0)