Kernel: Make various T::class_name() and similar return StringView

Instead of returning char const*, we can also give you a StringView.
This commit is contained in:
Andreas Kling 2021-07-11 01:46:09 +02:00
commit c9f6786e8b
Notes: sideshowbarker 2024-07-18 09:21:12 +09:00
58 changed files with 72 additions and 72 deletions

View file

@ -39,7 +39,7 @@ public:
protected:
MouseDevice();
// ^CharacterDevice
virtual const char* class_name() const override { return "MouseDevice"; }
virtual StringView class_name() const override { return "MouseDevice"; }
mutable SpinLock<u8> m_queue_lock;
CircularQueue<MousePacket, 100> m_queue;