diff options
Diffstat (limited to 'Userland/Libraries/LibJS/Heap/HeapBlock.h')
-rw-r--r-- | Userland/Libraries/LibJS/Heap/HeapBlock.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Userland/Libraries/LibJS/Heap/HeapBlock.h b/Userland/Libraries/LibJS/Heap/HeapBlock.h index 03b202317a..750394862c 100644 --- a/Userland/Libraries/LibJS/Heap/HeapBlock.h +++ b/Userland/Libraries/LibJS/Heap/HeapBlock.h @@ -8,6 +8,7 @@ #include <AK/IntrusiveList.h> #include <AK/Platform.h> +#include <AK/StringView.h> #include <AK/Types.h> #include <LibJS/Forward.h> #include <LibJS/Heap/Cell.h> @@ -98,7 +99,7 @@ private: struct FreelistEntry final : public Cell { FreelistEntry* next { nullptr }; - virtual const char* class_name() const override { return "FreelistEntry"; } + virtual StringView class_name() const override { return "FreelistEntry"sv; } }; Cell* cell(size_t index) |