diff options
-rw-r--r-- | libcxx/test/support/any_helpers.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxx/test/support/any_helpers.h b/libcxx/test/support/any_helpers.h index eb9a4c149fb..099bcec4289 100644 --- a/libcxx/test/support/any_helpers.h +++ b/libcxx/test/support/any_helpers.h @@ -26,7 +26,7 @@ namespace std { namespace experimental {} } template <class T> struct IsSmallObject : public std::integral_constant<bool - , sizeof(T) <= (sizeof(void*)*3) + , sizeof(T) <= sizeof(std::any) - sizeof(void*) && std::alignment_of<void*>::value % std::alignment_of<T>::value == 0 && std::is_nothrow_move_constructible<T>::value |