Changed front & back to const functions

This commit is contained in:
John Wellbelove 2020-08-30 12:02:58 +01:00
parent 0ab92304c0
commit 8526b2187c

View File

@ -212,7 +212,7 @@ namespace etl
//***************************************************
/// Get the first coordinate.
//***************************************************
const_reference front()
const_reference front() const
{
return first;
}
@ -220,7 +220,7 @@ namespace etl
//***************************************************
/// Get the last coordinate.
//***************************************************
const_reference back()
const_reference back() const
{
return last;
}