This repository was archived by the owner on Dec 15, 2022. It is now read-only.
Commit d1fcd7f
committed
Fix deprecated callback
The following warning.
```
../src/worker.cc: In member function ‘virtual void
CheckSpellingWorker::HandleOKCallback()’:
../src/worker.cc:44:25: warning: ‘v8::Local<v8::Value>
Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated
[-Wdeprecated-declarations]
callback->Call(2, argv);
```1 parent ae42da3 commit d1fcd7f
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
| 45 | + | |
| 46 | + | |
46 | 47 | | |
0 commit comments