diff options
Diffstat (limited to 'contrib/epee/include/span.h')
-rw-r--r-- | contrib/epee/include/span.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/epee/include/span.h b/contrib/epee/include/span.h index 5660c09d1..ba44f8f79 100644 --- a/contrib/epee/include/span.h +++ b/contrib/epee/include/span.h @@ -108,7 +108,7 @@ namespace epee template<typename T> constexpr bool has_padding() noexcept { - return !std::is_pod<T>::value || alignof(T) != 1; + return !std::is_standard_layout<T>() || alignof(T) != 1; } //! \return Cast data from `src` as `span<const std::uint8_t>`. |