diff options
author | Oleg Shparber <[email protected]> | 2014-12-31 10:40:16 -0800 |
---|---|---|
committer | Oleg Shparber <[email protected]> | 2015-01-03 23:29:51 +0100 |
commit | 4a9ed3de7d92809cf575f245f55d4f422b4983c3 (patch) | |
tree | df242fa9aa2895cf451096d2384e8f04ce1d0c70 /src/qml/jsruntime/qv4jsonobject.cpp | |
parent | 21d481c209692ec73ab6b6bc43e6977fc2f8c2fc (diff) |
Use QV4::ScopedArrayObject typedef instead of actual type
Change-Id: I975536745ac6c264aca074f84d223fbec7682d3d
Reviewed-by: Simon Hausmann <[email protected]>
Diffstat (limited to 'src/qml/jsruntime/qv4jsonobject.cpp')
-rw-r--r-- | src/qml/jsruntime/qv4jsonobject.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qml/jsruntime/qv4jsonobject.cpp b/src/qml/jsruntime/qv4jsonobject.cpp index 0bd4cec336..53f9d36eac 100644 --- a/src/qml/jsruntime/qv4jsonobject.cpp +++ b/src/qml/jsruntime/qv4jsonobject.cpp @@ -298,7 +298,7 @@ ReturnedValue JsonParser::parseArray() { Scope scope(engine); BEGIN << "parseArray"; - Scoped<ArrayObject> array(scope, engine->newArrayObject()); + ScopedArrayObject array(scope, engine->newArrayObject()); if (++nestingLevel > nestingLimit) { lastError = QJsonParseError::DeepNesting; @@ -1048,7 +1048,7 @@ QV4::ReturnedValue JsonObject::fromJsonArray(ExecutionEngine *engine, const QJso { Scope scope(engine); int size = array.size(); - Scoped<ArrayObject> a(scope, engine->newArrayObject()); + ScopedArrayObject a(scope, engine->newArrayObject()); a->arrayReserve(size); ScopedValue v(scope); for (int i = 0; i < size; i++) |