diff --git a/include/etl/multi_span.h b/include/etl/multi_span.h index c24e893a1..7f98865dc 100644 --- a/include/etl/multi_span.h +++ b/include/etl/multi_span.h @@ -134,7 +134,7 @@ namespace etl //************************************************************************* pointer operator ->() { - return *p_value; + return &operator*(); } //************************************************************************* @@ -142,7 +142,7 @@ namespace etl //************************************************************************* const_pointer operator ->() const { - return *p_value; + return &operator*(); } //*************************************************************************