summaryrefslogtreecommitdiff
path: root/src/node_http2.h
diff options
context:
space:
mode:
authorDaniel Bevenius <daniel.bevenius@gmail.com>2018-10-08 07:28:11 +0200
committerDaniel Bevenius <daniel.bevenius@gmail.com>2018-10-11 05:18:11 +0200
commit59c7df4a1099ea904de635c6357c08878dfc7093 (patch)
treea5fafddc7ebb1a707cbdbc34a3f8482ac3abc1b8 /src/node_http2.h
parent09a8ff3fd629c707264fb432bcf6cc13faa81258 (diff)
downloadandroid-node-v8-59c7df4a1099ea904de635c6357c08878dfc7093.tar.gz
android-node-v8-59c7df4a1099ea904de635c6357c08878dfc7093.tar.bz2
android-node-v8-59c7df4a1099ea904de635c6357c08878dfc7093.zip
test: fix compiler warning in doc/api/addons.md
Currently there are compiler warnings is emitted: ../addon.cc:17:58: warning: 'ToString' is deprecated: Use maybe version [-Wdeprecated-declarations] obj->Set(String::NewFromUtf8(isolate, "msg"), args[0]->ToString(isolate)); ^ deps/v8/include/v8.h:2537:3: note: 'ToString' has been explicitly marked deprecated here V8_DEPRECATED("Use maybe version", ^ This commit updates examples to use the non-deprecated versions. PR-URL: https://github.com/nodejs/node/pull/23323 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
Diffstat (limited to 'src/node_http2.h')
0 files changed, 0 insertions, 0 deletions