From d4e844e993dcdfa5f7ff99e458a23810bc8c377f Mon Sep 17 00:00:00 2001 From: David Leal Date: Sun, 28 Feb 2021 15:41:39 -0600 Subject: [PATCH] fix: Apply suggestions from code review --- sorting/selection_sort_recursive.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sorting/selection_sort_recursive.c b/sorting/selection_sort_recursive.c index 4ee7d28a..83bf7eda 100644 --- a/sorting/selection_sort_recursive.c +++ b/sorting/selection_sort_recursive.c @@ -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) {