mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-14 14:32:15 -07:00
fix build failure
This commit is contained in:
parent
9bc795c3f0
commit
26f3c866cb
1 changed files with 5 additions and 1 deletions
|
|
@ -195,7 +195,11 @@ void CardDatabase::addSet(CardSetPtr set)
|
|||
|
||||
SetList CardDatabase::getSetList() const
|
||||
{
|
||||
return static_cast<SetList>(sets.values());
|
||||
SetList result;
|
||||
for (auto set : sets.values()) {
|
||||
result << set;
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
LoadStatus CardDatabase::loadFromFile(const QString &fileName)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue