diff --git a/Userland/Libraries/LibJS/Heap/Cell.h b/Userland/Libraries/LibJS/Heap/Cell.h index 65170c018e8..3660b0dd2a5 100644 --- a/Userland/Libraries/LibJS/Heap/Cell.h +++ b/Userland/Libraries/LibJS/Heap/Cell.h @@ -20,7 +20,8 @@ public: \ virtual StringView class_name() const override \ { \ return #class_##sv; \ - } + } \ + friend class JS::Heap; class Cell { AK_MAKE_NONCOPYABLE(Cell);