diff options
Diffstat (limited to 'src/qml/jsruntime/qv4arrayobject.cpp')
| -rw-r--r-- | src/qml/jsruntime/qv4arrayobject.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/qml/jsruntime/qv4arrayobject.cpp b/src/qml/jsruntime/qv4arrayobject.cpp index c106d5531f..434f6781a8 100644 --- a/src/qml/jsruntime/qv4arrayobject.cpp +++ b/src/qml/jsruntime/qv4arrayobject.cpp @@ -473,7 +473,7 @@ ReturnedValue ArrayPrototype::method_entries(const FunctionObject *b, const Valu RETURN_UNDEFINED(); Scoped<ArrayIteratorObject> ao(scope, scope.engine->newArrayIteratorObject(O)); - ao->d()->iterationKind = ArrayIteratorKind::KeyValueIteratorKind; + ao->d()->iterationKind = IteratorKind::KeyValueIteratorKind; return ao->asReturnedValue(); } @@ -1083,7 +1083,7 @@ ReturnedValue ArrayPrototype::method_keys(const FunctionObject *f, const Value * RETURN_UNDEFINED(); Scoped<ArrayIteratorObject> ao(scope, scope.engine->newArrayIteratorObject(O)); - ao->d()->iterationKind = ArrayIteratorKind::KeyIteratorKind; + ao->d()->iterationKind = IteratorKind::KeyIteratorKind; return ao->asReturnedValue(); } @@ -1446,7 +1446,7 @@ ReturnedValue ArrayPrototype::method_values(const FunctionObject *b, const Value RETURN_UNDEFINED(); Scoped<ArrayIteratorObject> ao(scope, scope.engine->newArrayIteratorObject(O)); - ao->d()->iterationKind = ArrayIteratorKind::ValueIteratorKind; + ao->d()->iterationKind = IteratorKind::ValueIteratorKind; return ao->asReturnedValue(); } |
