Cleanups.

This commit is contained in:
JoelKatz
2012-09-28 22:40:14 -07:00
parent 079d376390
commit 609edfddbd
2 changed files with 9 additions and 17 deletions

View File

@@ -677,7 +677,8 @@ Json::Value STObject::getJson(int options) const
{
if (it.getName() == NULL)
ret[boost::lexical_cast<std::string>(index)] = it.getJson(options);
else ret[it.getName()] = it.getJson(options);
else
ret[it.getName()] = it.getJson(options);
}
}
return ret;