File tree Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change 36
36
37
37
# Reset this number to 0 on major V8 upgrades.
38
38
# Increment by one for each non-official patch applied to deps/v8.
39
- 'v8_embedder_string' : '-node.5 ' ,
39
+ 'v8_embedder_string' : '-node.6 ' ,
40
40
41
41
##### V8 defaults for Node.js #####
42
42
Original file line number Diff line number Diff line change @@ -100,12 +100,10 @@ static_assert(sizeof(UnalignedDoubleMember) == sizeof(double));
100
100
#define FLEXIBLE_ARRAY_MEMBER (Type, name ) \
101
101
using FlexibleDataReturnType = Type[0 ]; \
102
102
FlexibleDataReturnType& name () { \
103
- static_assert (alignof (Type) <= alignof (decltype (*this ))); \
104
103
using ReturnType = Type[0 ]; \
105
104
return reinterpret_cast <ReturnType&>(*(this + 1 )); \
106
105
} \
107
106
const FlexibleDataReturnType& name () const { \
108
- static_assert (alignof (Type) <= alignof (decltype (*this ))); \
109
107
using ReturnType = Type[0 ]; \
110
108
return reinterpret_cast <const ReturnType&>(*(this + 1 )); \
111
109
} \
You can’t perform that action at this time.
0 commit comments