diff options
Diffstat (limited to 'src/qml/jsruntime/qv4mm.cpp')
-rw-r--r-- | src/qml/jsruntime/qv4mm.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qml/jsruntime/qv4mm.cpp b/src/qml/jsruntime/qv4mm.cpp index d82968345b..54fee80d72 100644 --- a/src/qml/jsruntime/qv4mm.cpp +++ b/src/qml/jsruntime/qv4mm.cpp @@ -413,7 +413,7 @@ std::size_t MemoryManager::sweep(bool lastSweep) } if (Managed *m = weak->value.asManaged()) { if (!m->markBit) { - weak->value = Value::undefinedValue(); + weak->value = Primitive::undefinedValue(); PersistentValuePrivate *n = weak->next; weak->removeFromList(); weak = n; @@ -555,7 +555,7 @@ MemoryManager::~MemoryManager() PersistentValuePrivate *persistent = m_persistentValues; while (persistent) { PersistentValuePrivate *n = persistent->next; - persistent->value = Value::undefinedValue(); + persistent->value = Primitive::undefinedValue(); persistent->engine = 0; persistent->prev = 0; persistent->next = 0; |