diff options
author | Oleg Shparber <trollixx@gmail.com> | 2014-12-31 10:40:16 -0800 |
---|---|---|
committer | Oleg Shparber <trollixx@gmail.com> | 2015-01-03 23:29:51 +0100 |
commit | 4a9ed3de7d92809cf575f245f55d4f422b4983c3 (patch) | |
tree | df242fa9aa2895cf451096d2384e8f04ce1d0c70 /src/qml/jsruntime/qv4stringobject.cpp | |
parent | 21d481c209692ec73ab6b6bc43e6977fc2f8c2fc (diff) |
Use QV4::ScopedArrayObject typedef instead of actual type
Change-Id: I975536745ac6c264aca074f84d223fbec7682d3d
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/qml/jsruntime/qv4stringobject.cpp')
-rw-r--r-- | src/qml/jsruntime/qv4stringobject.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/jsruntime/qv4stringobject.cpp b/src/qml/jsruntime/qv4stringobject.cpp index df6c8c44a5..5fc6b884d0 100644 --- a/src/qml/jsruntime/qv4stringobject.cpp +++ b/src/qml/jsruntime/qv4stringobject.cpp @@ -397,7 +397,7 @@ ReturnedValue StringPrototype::method_match(CallContext *context) ScopedString lastIndex(scope, context->d()->engine->newString(QStringLiteral("lastIndex"))); rx->put(lastIndex, ScopedValue(scope, Primitive::fromInt32(0))); - Scoped<ArrayObject> a(scope, context->d()->engine->newArrayObject()); + ScopedArrayObject a(scope, context->d()->engine->newArrayObject()); double previousLastIndex = 0; uint n = 0; |