mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-08 17:13:57 -07:00
Include QSet
Took 51 seconds
This commit is contained in:
parent
7ed98c40bb
commit
a784ac41cd
1 changed files with 3 additions and 0 deletions
|
|
@ -56,6 +56,9 @@ inline QColor colorHelper(const QString &name)
|
|||
|
||||
return QColor(r, g, b);
|
||||
}
|
||||
|
||||
#include <QSet>
|
||||
|
||||
inline QList<QPair<QString, int>> sortManaMapWUBRGCFirst(const QMap<QString, int> &input)
|
||||
{
|
||||
static const QStringList priorityOrder = {"W", "U", "B", "R", "G", "C"};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue