added brace wrapping after if and for

This commit is contained in:
fourtf
2018-10-21 13:43:02 +02:00
parent c6e1ec3c71
commit e259b9e39f
138 changed files with 4738 additions and 2237 deletions
+6 -3
View File
@@ -72,15 +72,18 @@ namespace rj {
template <typename Type>
bool getSafe(const rapidjson::Value &obj, const char *key, Type &out)
{
if (!obj.IsObject()) {
if (!obj.IsObject())
{
return false;
}
if (!obj.HasMember(key)) {
if (!obj.HasMember(key))
{
return false;
}
if (obj.IsNull()) {
if (obj.IsNull())
{
return false;
}