Skip to content

Commit

Permalink
src: use nullptr in node_buffer.cc
Browse files Browse the repository at this point in the history
Signed-off-by: gengjiawen <technicalcute@gmail.com>

PR-URL: #25820
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
  • Loading branch information
gengjiawen authored and addaleax committed Feb 6, 2019
1 parent 059d30e commit 00f8e86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/node_buffer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 00f8e86

Please sign in to comment.