Update sorting/radix_sort2.cpp

Co-authored-by: David Leal <halfpacho@gmail.com>
This commit is contained in:
Suyashjaiswal
2020-10-16 14:06:53 +05:30
committed by GitHub
parent eaddb1fcb5
commit 8ff0fbc00b

View File

@@ -111,7 +111,7 @@ namespace sort
* Function to test the above algorithm
* @returns none
*/
void test1(){
static void test1(){
std::vector<int> 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;
}
}