fix: Apply suggestions from code review

This commit is contained in:
David Leal
2021-02-28 15:41:39 -06:00
committed by GitHub
parent 3ceeecfab9
commit d4e844e993

View File

@@ -29,7 +29,7 @@ void swap(uint8_t *first, uint8_t *second)
* @param size size of array
* @return min_index index of element having minimum value.
*/
uint8_t findIndex(const uint8_t *arr, const uint8_t& size)
uint8_t findIndex(const uint8_t *arr, const uint8_t size)
{
if (size == 1)
{