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 <[email protected]>

PR-URL: #25820
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Richard Lau <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
  • 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.