From 0ab92304c0a00792ad978ea786d306c185704080 Mon Sep 17 00:00:00 2001 From: John Wellbelove Date: Sun, 30 Aug 2020 11:51:52 +0100 Subject: [PATCH] Changed front & back to return const_reference --- include/etl/bresenham_line.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; }