mirror of
https://github.com/ETLCPP/etl.git
synced 2026-11-09 14:49:53 +08:00
Fixed span templated copy constructor
This commit is contained in:
parent
8634480fa6
commit
a08d7f14dc
@ -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)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user