diff --git a/include/pybind11/numpy.h b/include/pybind11/numpy.h index 1a79d1ebd4..3d34503c36 100644 --- a/include/pybind11/numpy.h +++ b/include/pybind11/numpy.h @@ -250,8 +250,7 @@ template using is_pod_struct = all_of< #else // GCC 4 doesn't implement is_trivially_copyable, so approximate it std::is_trivially_destructible, - std::has_trivial_copy_constructor, - std::has_trivial_copy_assign, + satisfies_any_of, #endif satisfies_none_of >;