Skip to content

Commit 3fa8589

Browse files
committed
fix compilation with node 12 / electron 5
1 parent a7c2fd6 commit 3fa8589

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cld.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ namespace NodeCld {
121121
info.GetReturnValue().Set(results);
122122
}
123123

124-
extern "C" void init (v8::Handle<v8::Object> target) {
124+
extern "C" void init (v8::Local<v8::Object> target) {
125125
// set detected languages
126126
v8::Local<v8::Array> detected = Nan::New<v8::Array>();
127127
vector<NodeCldDetected>* rawDetected = Constants::getInstance().getDetected();

0 commit comments

Comments
 (0)