Commit 7f743fc7 authored by Laurent Montel's avatar Laurent Montel 😁

Port qSort

parent 0e00b178
......@@ -130,7 +130,7 @@ QStringList HolidayRegion::regionCodes()
regionCodesList.append(filename.mid(filename.lastIndexOf(QLatin1String("holiday_")) + 8));
}
qSort(regionCodesList);
std::sort(regionCodesList.begin(), regionCodesList.end());
return regionCodesList;
}
......
......@@ -63,7 +63,7 @@ Holiday::List HolidayParserDriver::parseHolidays(const QDate &startDate, const Q
m_requestStart = startDate;
m_requestEnd = endDate;
parse();
qSort(m_resultList);
std::sort(m_resultList.begin(), m_resultList.end());
return m_resultList;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment