mirror of
https://github.com/TheAlgorithms/C
synced 2024-11-22 05:21:49 +03:00
fix: Apply suggestions from code review
This commit is contained in:
parent
3ceeecfab9
commit
d4e844e993
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user