Update QJsonSchemaChecker.cpp

This commit is contained in:
brindosch 2016-10-16 17:34:20 +02:00 committed by GitHub
parent 1565d60d86
commit 2cc4cdde26

View File

@ -274,7 +274,7 @@ void QJsonSchemaChecker::checkItems(const QJsonValue & value, const QJsonObject
std::ostringstream oss; std::ostringstream oss;
oss << "[" << i << "]"; oss << "[" << i << "]";
_currentPath.push_back(oss.str()); _currentPath.push_back(oss.str());
validate(jArray[i].toObject(), schema); validate(jArray[i], schema);
_currentPath.pop_back(); _currentPath.pop_back();
} }
} }