aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4mapiterator.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/qml/jsruntime/qv4mapiterator.cpp')
-rw-r--r--src/qml/jsruntime/qv4mapiterator.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qml/jsruntime/qv4mapiterator.cpp b/src/qml/jsruntime/qv4mapiterator.cpp
index 7be7416e4a..cd5fbb8e63 100644
--- a/src/qml/jsruntime/qv4mapiterator.cpp
+++ b/src/qml/jsruntime/qv4mapiterator.cpp
@@ -68,7 +68,7 @@ ReturnedValue MapIteratorPrototype::method_next(const FunctionObject *b, const V
IteratorKind itemKind = thisObject->d()->iterationKind;
if (!s) {
- QV4::Value undefined = Primitive::undefinedValue();
+ QV4::Value undefined = Value::undefinedValue();
return IteratorPrototype::createIterResultObject(scope.engine, undefined, true);
}
@@ -100,7 +100,7 @@ ReturnedValue MapIteratorPrototype::method_next(const FunctionObject *b, const V
}
thisObject->d()->iteratedMap.set(scope.engine, nullptr);
- QV4::Value undefined = Primitive::undefinedValue();
+ QV4::Value undefined = Value::undefinedValue();
return IteratorPrototype::createIterResultObject(scope.engine, undefined, true);
}