mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-23 22:37:55 +02:00
Change JsonType to enum class (#393)
Change enum JsonType to enum class JsonType
This commit is contained in:
committed by
Alexander Shishkin
parent
6df536bb31
commit
26a222ac62
@@ -501,7 +501,7 @@ void CCreatureSet::serializeJson(JsonSerializeFormat & handler, const std::strin
|
||||
if(fixedSize)
|
||||
vstd::amax(sz, fixedSize.get());
|
||||
|
||||
a.resize(sz, JsonNode::DATA_STRUCT);
|
||||
a.resize(sz, JsonNode::JsonType::DATA_STRUCT);
|
||||
|
||||
for(const auto & p : stacks)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user