summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibJS/Runtime/WeakMap.h
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries/LibJS/Runtime/WeakMap.h')
-rw-r--r--Userland/Libraries/LibJS/Runtime/WeakMap.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibJS/Runtime/WeakMap.h b/Userland/Libraries/LibJS/Runtime/WeakMap.h
index e530cb95c1..18a6b74305 100644
--- a/Userland/Libraries/LibJS/Runtime/WeakMap.h
+++ b/Userland/Libraries/LibJS/Runtime/WeakMap.h
@@ -27,7 +27,7 @@ public:
HashMap<Cell*, Value> const& values() const { return m_values; };
HashMap<Cell*, Value>& values() { return m_values; };
- virtual void remove_swept_cells(Badge<Heap>, Vector<Cell*>&) override;
+ virtual void remove_swept_cells(Badge<Heap>, Span<Cell*>) override;
private:
HashMap<Cell*, Value> m_values; // This stores Cell pointers instead of Object pointers to aide with sweeping