Merge branch 'hot-fix/#667-etl-span-copy-constructor-with-original-span-create-with-a-fixed-extent-causes-pend-iterator-to-be-invalid' into development

This commit is contained in:
John Wellbelove 2023-02-07 10:55:41 +01:00
commit 31ec6dede5

View File

@ -604,8 +604,8 @@ namespace etl
//*************************************************************************
template <typename U, size_t N>
ETL_CONSTEXPR span(const etl::span<U, N>& other) ETL_NOEXCEPT
: pbegin(other.begin())
, pend(other.begin() + N)
: pbegin(other.pbegin)
, pend(other.pend)
{
}