2
0
mirror of https://github.com/boostorg/json.git synced 2026-01-24 05:52:17 +00:00

Use alignas(T) over alignas(alignof(T))

This commit is contained in:
Krystian Stasiowski
2020-10-21 11:10:16 -04:00
committed by Vinnie Falco
parent a09d596781
commit d5d2dfd648
3 changed files with 3 additions and 3 deletions

View File

@@ -20,7 +20,7 @@ BOOST_JSON_NS_BEGIN
//----------------------------------------------------------
struct alignas(alignof(value))
struct alignas(value)
array::table
{
std::uint32_t size = 0;

View File

@@ -19,7 +19,7 @@
BOOST_JSON_NS_BEGIN
struct alignas(alignof(detail::max_align_t))
struct alignas(detail::max_align_t)
monotonic_resource::block : block_base
{
};

View File

@@ -20,7 +20,7 @@ BOOST_JSON_NS_BEGIN
//----------------------------------------------------------
struct alignas(alignof(key_value_pair))
struct alignas(key_value_pair)
object::table
{
std::uint32_t size = 0;