diff --git a/include/etl/bresenham_line.h b/include/etl/bresenham_line.h index ed301368..b460de2d 100644 --- a/include/etl/bresenham_line.h +++ b/include/etl/bresenham_line.h @@ -212,7 +212,7 @@ namespace etl //*************************************************** /// Get the first coordinate. //*************************************************** - value_type front() + const_reference front() { return first; } @@ -220,7 +220,7 @@ namespace etl //*************************************************** /// Get the last coordinate. //*************************************************** - value_type back() + const_reference back() { return last; }