Skip to content

Commit e279be5

Browse files
committed
fixed namespace error
1 parent a78b62c commit e279be5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sorting/quick_sort_iterative.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ void tests()
9999
std::cout<<"Before: \n";
100100
for(auto x : case1) std::cout<<x<<",";
101101
std::cout<<"\n";
102-
iterativeQuickSort(case1);
102+
sorting::iterativeQuickSort(case1);
103103
assert(std::is_sorted(std::begin(case1),std::end(case1)));
104104
std::cout<<"Test 1 succesful!\n";
105105
std::cout<<"After: \n";
@@ -112,7 +112,7 @@ void tests()
112112
std::cout<<"Before: \n";
113113
for(auto x : case2) std::cout<<x<<",";
114114
std::cout<<"\n";
115-
iterativeQuickSort(case2);
115+
sorting::iterativeQuickSort(case2);
116116
assert(std::is_sorted(std::begin(case2),std::end(case2)));
117117
std::cout<<"Test 2 succesful!\n";
118118
std::cout<<"After: \n";

0 commit comments

Comments
 (0)