mirror of
https://github.com/boostorg/move.git
synced 2025-08-02 13:44:28 +02:00
Fix for BOOST_ALIGNMENT_OF being set to an "unknown" value.
This commit is contained in:
@@ -847,7 +847,7 @@ struct alignment_of_impl
|
|||||||
// Using a combination of the two seems to make the most of a bad job:
|
// Using a combination of the two seems to make the most of a bad job:
|
||||||
: alignment_logic< sizeof(alignment_of_hack<T>) - 2*sizeof(T), __alignof(T)>
|
: alignment_logic< sizeof(alignment_of_hack<T>) - 2*sizeof(T), __alignof(T)>
|
||||||
{};
|
{};
|
||||||
#elif !defined(BOOST_ALIGNMENT_OF)
|
#elif !defined(BOOST_MOVE_ALIGNMENT_OF)
|
||||||
: alignment_logic< sizeof(alignment_of_hack<T>) - 2*sizeof(T), sizeof(T)>
|
: alignment_logic< sizeof(alignment_of_hack<T>) - 2*sizeof(T), sizeof(T)>
|
||||||
{};
|
{};
|
||||||
#else
|
#else
|
||||||
|
Reference in New Issue
Block a user