Fix for BOOST_ALIGNMENT_OF being set to an "unknown" value.

This commit is contained in:
jzmaddock
2015-02-21 18:13:28 +00:00
parent d61685461c
commit 67ffda6684

View File

@@ -847,7 +847,7 @@ struct alignment_of_impl
// 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)>
{};
#elif !defined(BOOST_ALIGNMENT_OF)
#elif !defined(BOOST_MOVE_ALIGNMENT_OF)
: alignment_logic< sizeof(alignment_of_hack<T>) - 2*sizeof(T), sizeof(T)>
{};
#else