summaryrefslogtreecommitdiff
path: root/src/node_native_module.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/node_native_module.cc')
-rw-r--r--src/node_native_module.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/node_native_module.cc b/src/node_native_module.cc
index 77763229ce..6e5f08e354 100644
--- a/src/node_native_module.cc
+++ b/src/node_native_module.cc
@@ -317,7 +317,8 @@ MaybeLocal<Value> NativeModuleLoader::LookupAndCompile(
void NativeModuleLoader::Initialize(Local<Object> target,
Local<Value> unused,
- Local<Context> context) {
+ Local<Context> context,
+ void* priv) {
Environment* env = Environment::GetCurrent(context);
env->SetMethod(