mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-02 15:46:33 +00:00
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:
parent
fa9111ac46
commit
c9f6786e8b
Notes:
sideshowbarker
2024-07-18 09:21:12 +09:00
Author: https://github.com/awesomekling
Commit: c9f6786e8b
58 changed files with 72 additions and 72 deletions
|
@ -54,7 +54,7 @@ protected:
|
|||
mutable SpinLock<u8> m_queue_lock;
|
||||
CircularQueue<Event, 16> m_queue;
|
||||
// ^CharacterDevice
|
||||
virtual const char* class_name() const override { return "KeyboardDevice"; }
|
||||
virtual StringView class_name() const override { return "KeyboardDevice"; }
|
||||
|
||||
u8 m_modifiers { 0 };
|
||||
bool m_caps_lock_to_ctrl_pressed { false };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue