diff --git a/include/etl/span.h b/include/etl/span.h index 32f27106..d28c06b0 100644 --- a/include/etl/span.h +++ b/include/etl/span.h @@ -604,8 +604,8 @@ namespace etl //************************************************************************* template ETL_CONSTEXPR span(const etl::span& other) ETL_NOEXCEPT - : pbegin(other.begin()) - , pend(other.begin() + N) + : pbegin(other.pbegin) + , pend(other.pend) { }