diff --git a/src/binding.cc b/src/binding.cc index bfe8860..6825ecb 100644 --- a/src/binding.cc +++ b/src/binding.cc @@ -10,7 +10,7 @@ namespace { NAN_METHOD(New) {} -void Init(Handle exports, Handle module) { +void Init(Local exports, Local module) { Local tpl = Nan::New(New); tpl->SetClassName(Nan::New("Language").ToLocalChecked()); tpl->InstanceTemplate()->SetInternalFieldCount(1);