mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-14 22:42:14 -07:00
Do not do a range based sort, no matter how much CLion insists.
This commit is contained in:
parent
1868981cb5
commit
f326f74b5e
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue