diff --git a/include/boost/type_traits/type_with_alignment.hpp b/include/boost/type_traits/type_with_alignment.hpp index fb284f8..5b4bd01 100644 --- a/include/boost/type_traits/type_with_alignment.hpp +++ b/include/boost/type_traits/type_with_alignment.hpp @@ -100,9 +100,9 @@ struct lower_alignment_helper template struct lower_alignment_helper - : mpl::if_c<(alignment_of::value == target), TestType, char> { enum { value = (alignment_of::value == target) }; + typedef typename mpl::if_c::type type; }; #endif