mirror of
https://github.com/denoland/rusty_v8.git
synced 2024-11-24 15:19:31 -05:00
fix typo
This commit is contained in:
parent
d1b32dab8e
commit
3f8f8a1072
1 changed files with 1 additions and 1 deletions
|
@ -78,7 +78,7 @@ struct make_pod {
|
|||
template <class V>
|
||||
union helper {
|
||||
static_assert(std::is_trivially_copyable<V>::value, "type V must be trivially copyable");
|
||||
static_assert(std::is_standard_layout<P>::value && std::is_trivially_copyable<P>::value, "type P must a pod type");
|
||||
static_assert(std::is_standard_layout<P>::value && std::is_trivial<P>::value, "type P must a pod type");
|
||||
static_assert(sizeof(V) == sizeof(P), "type P must be same size as type V");
|
||||
static_assert(alignof(V) == alignof(P),
|
||||
"alignment of type P must be compatible with that of type V");
|
||||
|
|
Loading…
Reference in a new issue