diff options
Diffstat (limited to 'src/qml/memory/qv4mm_p.h')
-rw-r--r-- | src/qml/memory/qv4mm_p.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/qml/memory/qv4mm_p.h b/src/qml/memory/qv4mm_p.h index da162d2dfe..bbbbb1aef6 100644 --- a/src/qml/memory/qv4mm_p.h +++ b/src/qml/memory/qv4mm_p.h @@ -275,6 +275,7 @@ public: } void registerWeakMap(Heap::MapObject *map); + void registerWeakSet(Heap::SetObject *set); protected: /// expects size to be aligned @@ -299,6 +300,7 @@ public: PersistentValueStorage *m_weakValues; QVector<Value *> m_pendingFreedObjectWrapperValue; Heap::MapObject *weakMaps = nullptr; + Heap::SetObject *weakSets = nullptr; std::size_t unmanagedHeapSize = 0; // the amount of bytes of heap that is not managed by the memory manager, but which is held onto by managed items. std::size_t unmanagedHeapSizeGCLimit; |