summaryrefslogtreecommitdiff
path: root/src/fs_event_wrap.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/fs_event_wrap.cc')
-rw-r--r--src/fs_event_wrap.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/fs_event_wrap.cc b/src/fs_event_wrap.cc
index 057445776a..249a4bb973 100644
--- a/src/fs_event_wrap.cc
+++ b/src/fs_event_wrap.cc
@@ -52,7 +52,8 @@ class FSEventWrap: public HandleWrap {
public:
static void Initialize(Local<Object> target,
Local<Value> unused,
- Local<Context> context);
+ Local<Context> context,
+ void* priv);
static void New(const FunctionCallbackInfo<Value>& args);
static void Start(const FunctionCallbackInfo<Value>& args);
static void GetInitialized(const FunctionCallbackInfo<Value>& args);
@@ -95,7 +96,8 @@ void FSEventWrap::GetInitialized(const FunctionCallbackInfo<Value>& args) {
void FSEventWrap::Initialize(Local<Object> target,
Local<Value> unused,
- Local<Context> context) {
+ Local<Context> context,
+ void* priv) {
Environment* env = Environment::GetCurrent(context);
auto fsevent_string = FIXED_ONE_BYTE_STRING(env->isolate(), "FSEvent");