diff --git a/Userland/Libraries/LibJS/Heap/Cell.h b/Userland/Libraries/LibJS/Heap/Cell.h index 3660b0dd2a..fc266b4ccb 100644 --- a/Userland/Libraries/LibJS/Heap/Cell.h +++ b/Userland/Libraries/LibJS/Heap/Cell.h @@ -51,6 +51,10 @@ public: if (cell) visit_impl(*cell); } + void visit(Cell& cell) + { + visit_impl(cell); + } void visit(Value); protected: