Changed front & back to return const_reference

This commit is contained in:
John Wellbelove 2020-08-30 11:51:52 +01:00
parent d234d5ce0d
commit 0ab92304c0

View File

@ -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;
}