removing the sorting logic

This commit is contained in:
Jidong Xiao
2023-09-05 16:10:43 -04:00
parent ae6e2d9a44
commit d80cf44fc5

View File

@@ -60,7 +60,6 @@ int main() {
/*
std::cout << "testing sort" << std::endl;
std::vector<Time> times;
times.push_back(Time(0,0,1));
@@ -79,11 +78,6 @@ int main() {
times.push_back(Time(14,14,14));
times.push_back(Time(3,3,3));
// also try some duplicates
// times.push_back(Time(2,2,2));
// times.push_back(Time(23,23,23));
sort(times.begin(),times.end(),IsEarlierThan);
for (int i = 0; i < times.size(); i++) {
times[i].PrintAMPM();
}