src: use C++ nullptr in webstorage · nodejs/node@001be8a · GitHub
Skip to content

Commit 001be8a

Browse files
tniessenaduh95
authored andcommitted
src: use C++ nullptr in webstorage
Using the C-style constant `0` to represent a null pointer is less type safe than the C++-style constant `nullptr`, so we should always be using `nullptr` instead of `0`. PR-URL: #61407 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: René <contact.9a5d6388@renegade334.me.uk>
1 parent 0248357 commit 001be8a

1 file changed

Lines changed: 16 additions & 12 deletions

File tree

src/node_webstorage.cc

Lines changed: 16 additions & 12 deletions

0 commit comments

Comments
 (0)