From bcd81f6caf8893289a272303e211aa4715be87a5 Mon Sep 17 00:00:00 2001 From: Lajat5 Date: Sat, 23 Oct 2021 06:41:23 +0000 Subject: [PATCH] Fix #2 --- sorting/selection_sort_iterative.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sorting/selection_sort_iterative.cpp b/sorting/selection_sort_iterative.cpp index 2a3073975..eeeba4e4b 100644 --- a/sorting/selection_sort_iterative.cpp +++ b/sorting/selection_sort_iterative.cpp @@ -43,8 +43,8 @@ namespace sorting { * @param len length of vector to be sorted * @returns void *******************************************************************************/ -template -void selectionSort(std::vector &arr, uint64_t len) { + +void selectionSort(std::vector &arr, uint64_t len) { for (uint64_t it = 0; it < len; ++it) { uint64_t min = it; // set min value for (uint64_t it2 = it + 1; it2 < len + 1; ++it2) {