mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-09 09:33:57 -07:00
address comment again
This commit is contained in:
parent
d5599ae7f5
commit
35e4e99f37
1 changed files with 7 additions and 2 deletions
|
|
@ -274,8 +274,13 @@ static QString toDecklistExportString(const DecklistCardNode *card)
|
|||
*/
|
||||
static QString toDecklistExportString(const QList<const DecklistCardNode *> &cardNodes)
|
||||
{
|
||||
return std::transform_reduce(cardNodes.cbegin(), cardNodes.cend(), QString(), std::plus(),
|
||||
[](auto cardNode) { return toDecklistExportString(cardNode); });
|
||||
QString result;
|
||||
|
||||
for (auto cardNode : cardNodes) {
|
||||
result += toDecklistExportString(cardNode);
|
||||
}
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue