File tree 2 files changed +1
-3
lines changed
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.3 ' ,
39
+ 'v8_embedder_string' : '-node.4 ' ,
40
40
41
41
##### V8 defaults for Node.js #####
42
42
Original file line number Diff line number Diff line change @@ -101,12 +101,10 @@ static_assert(sizeof(UnalignedDoubleMember) == sizeof(double));
101
101
#define FLEXIBLE_ARRAY_MEMBER (Type, name ) \
102
102
using FlexibleDataReturnType = Type[0 ]; \
103
103
FlexibleDataReturnType& name () { \
104
- static_assert (alignof (Type) <= alignof (decltype (*this ))); \
105
104
using ReturnType = Type[0 ]; \
106
105
return reinterpret_cast <ReturnType&>(*(this + 1 )); \
107
106
} \
108
107
const FlexibleDataReturnType& name () const { \
109
- static_assert (alignof (Type) <= alignof (decltype (*this ))); \
110
108
using ReturnType = Type[0 ]; \
111
109
return reinterpret_cast <const ReturnType&>(*(this + 1 )); \
112
110
} \
You can’t perform that action at this time.
0 commit comments