Skip to content

Commit b782ef8

Browse files
seishunbnoordhuis
authored andcommitted
src: remove usage of extended sizeof
It's not supported in VS2013. PR-URL: node-forward/node#38 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
1 parent 3543c55 commit b782ef8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/node_v8_platform.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ Task* TaskQueue::Shift() {
142142

143143

144144
unsigned int TaskQueue::next(unsigned int n) {
145-
return (n + 1) % ARRAY_SIZE(TaskQueue::ring_);
145+
return (n + 1) % ARRAY_SIZE(TaskQueue{}.ring_);
146146
}
147147

148148

0 commit comments

Comments
 (0)