mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -07:00
Address /W4 compiler warnings for Windows (#4910)
This commit is contained in:
parent
cb90a8356b
commit
186f4289e9
50 changed files with 279 additions and 272 deletions
|
|
@ -349,8 +349,8 @@ int OracleImporter::importCardsFromSet(const CardSetPtr ¤tSet,
|
|||
|
||||
// split cards are considered a single card, enqueue for later merging
|
||||
if (layout == "split" || layout == "aftermath" || layout == "adventure") {
|
||||
auto faceName = getStringPropertyFromMap(card, "faceName");
|
||||
SplitCardPart split(faceName, text, properties, setInfo);
|
||||
auto _faceName = getStringPropertyFromMap(card, "faceName");
|
||||
SplitCardPart split(_faceName, text, properties, setInfo);
|
||||
auto found_iter = splitCards.find(name);
|
||||
if (found_iter == splitCards.end()) {
|
||||
splitCards.insert(name, {split});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue