From 953d053315eb152277773041c18b980174e69e9f Mon Sep 17 00:00:00 2001 From: Artem Klyukvin Date: Sat, 23 May 2020 17:18:58 +0300 Subject: [PATCH] patch c --- src/binding.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);