diff options
author | Daniel Bevenius <daniel.bevenius@gmail.com> | 2018-05-16 11:50:48 +0200 |
---|---|---|
committer | Daniel Bevenius <daniel.bevenius@gmail.com> | 2018-06-07 05:46:51 +0200 |
commit | cbc3dd997eb90d629d1b9912b7a5a40eb82343df (patch) | |
tree | 822b55186ac52c127a686d2d828c15518be20186 /src/node_platform.cc | |
parent | 75e91659887012f743aa4487d6d4ce3d765c028a (diff) | |
download | node-new-cbc3dd997eb90d629d1b9912b7a5a40eb82343df.tar.gz |
src, tools: add check for left leaning pointers
This commit adds a rule to cpplint to check that pointers in the code
base lean to the left and not right, and also fixes the violations
reported.
PR-URL: https://github.com/nodejs/node/pull/21010
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'src/node_platform.cc')
-rw-r--r-- | src/node_platform.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/node_platform.cc b/src/node_platform.cc index f2407f5be2..a8258ed74b 100644 --- a/src/node_platform.cc +++ b/src/node_platform.cc @@ -16,7 +16,7 @@ using v8::Platform; using v8::Task; using v8::TracingController; -static void BackgroundRunner(void *data) { +static void BackgroundRunner(void* data) { TRACE_EVENT_METADATA1("__metadata", "thread_name", "name", "BackgroundTaskRunner"); TaskQueue<Task> *background_tasks = static_cast<TaskQueue<Task> *>(data); |