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 +}