summaryrefslogtreecommitdiff
path: root/src/node_domain.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/node_domain.cc')
-rw-r--r--src/node_domain.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/node_domain.cc b/src/node_domain.cc
index f4f585ac4f..b29ca1db05 100644
--- a/src/node_domain.cc
+++ b/src/node_domain.cc
@@ -22,7 +22,8 @@ void Enable(const FunctionCallbackInfo<Value>& args) {
void Initialize(Local<Object> target,
Local<Value> unused,
- Local<Context> context) {
+ Local<Context> context,
+ void* priv) {
Environment* env = Environment::GetCurrent(context);
env->SetMethod(target, "enable", Enable);