mirror of
https://github.com/TheAlgorithms/C-Plus-Plus.git
synced 2026-05-07 13:53:16 +08:00
Update sorting/radix_sort2.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user