1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-06-21 00:19:29 +02:00

fixed indentation for switch statements

This commit is contained in:
Henning Koehler
2017-09-15 23:32:32 +12:00
parent 6037c19b9a
commit de6d4d8367
2 changed files with 140 additions and 140 deletions

View File

@ -218,17 +218,17 @@ bool JsonNode::isEmpty() const
{
switch(type)
{
case JsonType::DATA_NULL:
return true;
case JsonType::DATA_STRUCT:
for(auto elem : *data.Struct)
{
if(!elem.second.isEmpty())
return false;
}
return true;
default:
return false;
case JsonType::DATA_NULL:
return true;
case JsonType::DATA_STRUCT:
for(auto elem : *data.Struct)
{
if(!elem.second.isEmpty())
return false;
}
return true;
default:
return false;
}
}