Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: fix deprecation warning in binding.cc
Currently, the make-callback-domain-warning addon generates the following warning: ../binding.cc:22:9: warning: 'MakeCallback' is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] node::MakeCallback(isolate, recv, method, 0, nullptr); ^ ../../../../src/node.h:172:50: note: 'MakeCallback' has been explicitly marked deprecated here NODE_EXTERN v8::Local<v8::Value> MakeCallback( ^ 1 warning generated. This commit fixes this warning. PR-URL: #18877 Reviewed-By: Ali Ijaz Sheikh <[email protected]>
- Loading branch information