Fixed span templated copy constructor

This commit is contained in:
John Wellbelove 2023-02-07 10:55:16 +01:00
parent 8634480fa6
commit a08d7f14dc

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)
{
}