diff --git a/Eigen/src/Core/Fill.h b/Eigen/src/Core/Fill.h index 3b0af91a7..9d4ecd445 100644 --- a/Eigen/src/Core/Fill.h +++ b/Eigen/src/Core/Fill.h @@ -92,7 +92,8 @@ struct eigen_fill_impl { template struct eigen_memset_helper { - static constexpr bool value = std::is_trivial::value && eigen_fill_helper::value; + static constexpr bool value = + std::is_trivially_copyable::value && eigen_fill_helper::value; }; template