diff --git a/sorting/selection_sort.cpp b/sorting/selection_sort.cpp index 671723eda..a975c5d88 100644 --- a/sorting/selection_sort.cpp +++ b/sorting/selection_sort.cpp @@ -45,7 +45,7 @@ namespace sorting { *******************************************************************************/ void selectionSort( - std::array& arr, + std::array &arr, int len) { // Array size is const, can be modified by replacing "8" at (Ln // 45, Col 21) & (Ln 45, Col 60). for (auto it = 0; it < len; ++it) { @@ -123,4 +123,4 @@ static void test() { int main() { test(); // run self-test implementations return 0; -} \ No newline at end of file +}