diff --git a/include/boost/endian/detail/endian_reverse.hpp b/include/boost/endian/detail/endian_reverse.hpp index 4fd71bb..88fcf20 100644 --- a/include/boost/endian/detail/endian_reverse.hpp +++ b/include/boost/endian/detail/endian_reverse.hpp @@ -108,7 +108,7 @@ inline uint128_type BOOST_ENDIAN_CONSTEXPR endian_reverse_impl( uint128_type x ) template inline BOOST_CONSTEXPR T endian_reverse( T x ) BOOST_NOEXCEPT { - BOOST_STATIC_ASSERT( is_integral::value && !is_same::value ); + BOOST_STATIC_ASSERT( is_integral::value && !(is_same::value) ); typedef typename detail::integral_by_size< sizeof(T) >::type uintN_t;