Do not do a range based sort, no matter how much CLion insists.

This commit is contained in:
Lukas Brübach 2025-03-06 12:19:29 +01:00
parent 1868981cb5
commit f326f74b5e

View file

@ -257,7 +257,7 @@ void VisualDatabaseDisplayWidget::sortCardList(const QStringList &properties,
Qt::SortOrder order = Qt::AscendingOrder) const
{
CardInfoComparator comparator(properties, order);
std::ranges::sort(*cards, comparator);
std::sort(cards->begin(), cards->end(), comparator);
}
void VisualDatabaseDisplayWidget::databaseDataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight)