From a08d7f14dc5edc07aa4e037a0f57e188c7fab20c Mon Sep 17 00:00:00 2001 From: John Wellbelove Date: Tue, 7 Feb 2023 10:55:16 +0100 Subject: [PATCH] Fixed span templated copy constructor --- include/etl/span.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) { }