summaryrefslogtreecommitdiff
path: root/src/qml/jsruntime/qv4internalclass.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/qml/jsruntime/qv4internalclass.cpp')
-rw-r--r--src/qml/jsruntime/qv4internalclass.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qml/jsruntime/qv4internalclass.cpp b/src/qml/jsruntime/qv4internalclass.cpp
index b22d3073b9..b2b1c29e10 100644
--- a/src/qml/jsruntime/qv4internalclass.cpp
+++ b/src/qml/jsruntime/qv4internalclass.cpp
@@ -294,9 +294,9 @@ static void removeFromPropertyData(QV4::Object *object, int idx, bool accessor =
int size = o->internalClass->size;
for (int i = idx; i < size; ++i)
o->setProperty(v4, i, *o->propertyData(i + (accessor ? 2 : 1)));
- o->setProperty(v4, size, Primitive::undefinedValue());
+ o->setProperty(v4, size, Value::undefinedValue());
if (accessor)
- o->setProperty(v4, size + 1, Primitive::undefinedValue());
+ o->setProperty(v4, size + 1, Value::undefinedValue());
}
void InternalClass::changeMember(QV4::Object *object, PropertyKey id, PropertyAttributes data, uint *index)