From b51af5e8badfea94b1bb17fa9a857bbb40da541a Mon Sep 17 00:00:00 2001 From: Rakshit Raj Date: Sun, 29 Nov 2020 22:29:08 +0530 Subject: [PATCH] Update sorting/count_inversions.cpp Co-authored-by: David Leal --- sorting/count_inversions.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sorting/count_inversions.cpp b/sorting/count_inversions.cpp index efd09b1ed..93f7f0d97 100644 --- a/sorting/count_inversions.cpp +++ b/sorting/count_inversions.cpp @@ -184,7 +184,7 @@ void show(T* arr, const int array_size) { * @brief Test implementations * @returns void */ -void test() { +static void test() { // Test 1 std::vector arr1 = { 100, 99, 98, 97, 96, 95, 94, 93, 92, 91, 90, 89, 88, 87, 86, 85, 84,