1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-01 07:18:13 +00:00

Kernel: Make VMObject::class_name() return a StringView

This commit is contained in:
Andreas Kling 2021-07-11 17:57:52 +02:00
parent 88d490566f
commit 68f2250768
5 changed files with 5 additions and 5 deletions

View file

@ -46,7 +46,7 @@ public:
size_t size() const { return m_physical_pages.size() * PAGE_SIZE; }
virtual const char* class_name() const = 0;
virtual StringView class_name() const = 0;
ALWAYS_INLINE void ref_region() { m_regions_count++; }
ALWAYS_INLINE void unref_region() { m_regions_count--; }