From daf10cd06dab6e21d99fcf103afab506cc49a688 Mon Sep 17 00:00:00 2001 From: Lajat5 <64376519+Lazeeez@users.noreply.github.com> Date: Wed, 6 Oct 2021 01:28:25 +0530 Subject: [PATCH] Update selection_sort.cpp --- sorting/selection_sort.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 +}