From 67ffda668482e8ad88807fd9ae08338cd7c3a30e Mon Sep 17 00:00:00 2001 From: jzmaddock Date: Sat, 21 Feb 2015 18:13:28 +0000 Subject: [PATCH] Fix for BOOST_ALIGNMENT_OF being set to an "unknown" value. --- include/boost/move/detail/type_traits.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/move/detail/type_traits.hpp b/include/boost/move/detail/type_traits.hpp index ad29e7f..ac0bbcd 100644 --- a/include/boost/move/detail/type_traits.hpp +++ b/include/boost/move/detail/type_traits.hpp @@ -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) - 2*sizeof(T), __alignof(T)> {}; -#elif !defined(BOOST_ALIGNMENT_OF) +#elif !defined(BOOST_MOVE_ALIGNMENT_OF) : alignment_logic< sizeof(alignment_of_hack) - 2*sizeof(T), sizeof(T)> {}; #else