From af32dd7b74521296e9f0c7eb5e8392181622cd5c Mon Sep 17 00:00:00 2001 From: Fedor Indutny Date: Tue, 28 Oct 2014 21:12:49 -0400 Subject: [PATCH] v8_platform: fix cpplint issue Reviewed-By: Fedor Indutny PR-URL: local://fedors.head/pull/1 --- src/node_v8_platform.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/node_v8_platform.cc b/src/node_v8_platform.cc index fd226db4f4..7498d685cd 100644 --- a/src/node_v8_platform.cc +++ b/src/node_v8_platform.cc @@ -142,7 +142,7 @@ Task* TaskQueue::Shift() { unsigned int TaskQueue::next(unsigned int n) { - return (n + 1) % ARRAY_SIZE(TaskQueue{}.ring_); + return (n + 1) % ARRAY_SIZE(TaskQueue {}.ring_); }