diff --git a/include/highfive/bits/H5Inspector_misc.hpp b/include/highfive/bits/H5Inspector_misc.hpp index c25bcfbd5..e2da12f39 100644 --- a/include/highfive/bits/H5Inspector_misc.hpp +++ b/include/highfive/bits/H5Inspector_misc.hpp @@ -488,6 +488,7 @@ struct inspector> { static constexpr size_t ndim = 1; static constexpr size_t recursive_ndim = ndim + inspector::recursive_ndim; static constexpr bool is_trivially_copyable = std::is_trivially_copyable::value && + sizeof(type) == N * sizeof(T) && inspector::is_trivially_copyable; static std::vector getDimensions(const type& val) {