From 8ff0fbc00b90f4edbed06ec88601582fd5032f51 Mon Sep 17 00:00:00 2001 From: Suyashjaiswal Date: Fri, 16 Oct 2020 14:06:53 +0530 Subject: [PATCH] Update sorting/radix_sort2.cpp Co-authored-by: David Leal --- sorting/radix_sort2.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sorting/radix_sort2.cpp b/sorting/radix_sort2.cpp index dc85f487e..4c9d314ae 100644 --- a/sorting/radix_sort2.cpp +++ b/sorting/radix_sort2.cpp @@ -111,7 +111,7 @@ namespace sort * Function to test the above algorithm * @returns none */ - void test1(){ + static void test1(){ std::vector ar = {432,234,143,332,123}; sort::radix_sort::radix obj(ar); obj.radix_sort(); @@ -146,4 +146,4 @@ int main() obj.radix_sort(); obj.show(); return 0; -} \ No newline at end of file +}