diff options
author | Ben Noordhuis <info@bnoordhuis.nl> | 2015-05-25 16:45:11 +0200 |
---|---|---|
committer | Ben Noordhuis <info@bnoordhuis.nl> | 2015-05-26 17:17:38 +0200 |
commit | 280fb01daffdfe710a0f0869a836b3ed6f5d1c09 (patch) | |
tree | f41356fccaa570c0ef4775a19d447fa4551f6798 /test/addons/async-hello-world | |
parent | 93a44d5228b2e1a885f6279f06c4175c174246be (diff) | |
download | android-node-v8-280fb01daffdfe710a0f0869a836b3ed6f5d1c09.tar.gz android-node-v8-280fb01daffdfe710a0f0869a836b3ed6f5d1c09.tar.bz2 android-node-v8-280fb01daffdfe710a0f0869a836b3ed6f5d1c09.zip |
test: fix deprecation warning in addons test
The non-isolate version of node::FatalException() is deprecated, switch
to the version that takes an isolate as its first argument.
PR-URL: https://github.com/nodejs/io.js/pull/1793
Reviewed-By: Trevor Norris <trev.norris@gmail.com>
Diffstat (limited to 'test/addons/async-hello-world')
-rw-r--r-- | test/addons/async-hello-world/binding.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/addons/async-hello-world/binding.cc b/test/addons/async-hello-world/binding.cc index 99f79431a0..f458dc6a56 100644 --- a/test/addons/async-hello-world/binding.cc +++ b/test/addons/async-hello-world/binding.cc @@ -39,7 +39,7 @@ void AfterAsync(uv_work_t* r) { delete req; if (try_catch.HasCaught()) { - FatalException(try_catch); + FatalException(isolate, try_catch); } } |