From abd84f8a69cd5c1a4abdc85af7c689654bc21f4d Mon Sep 17 00:00:00 2001 From: gengjiawen <technicalcute@gmail.com> Date: Wed, 30 Jan 2019 23:43:20 +0800 Subject: [PATCH] src: use nullptr in node_buffer.cc Signed-off-by: gengjiawen <technicalcute@gmail.com> --- src/node_buffer.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/node_buffer.cc b/src/node_buffer.cc index e602d5618eb7bc..1aebe51e0bc292 100644 --- a/src/node_buffer.cc +++ b/src/node_buffer.cc @@ -99,7 +99,7 @@ class CallbackInfo { Local<ArrayBuffer> object, FreeCallback callback, char* data, - void* hint = 0); + void* hint = nullptr); private: static void WeakCallback(const WeakCallbackInfo<CallbackInfo>&); inline void WeakCallback(Isolate* isolate);