mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 22:27:35 +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
58 changed files with 72 additions and 72 deletions
|
@ -112,7 +112,7 @@ private:
|
|||
SerialDevice(IOAddress base_addr, unsigned minor);
|
||||
|
||||
// ^CharacterDevice
|
||||
virtual const char* class_name() const override { return "SerialDevice"; }
|
||||
virtual StringView class_name() const override { return "SerialDevice"; }
|
||||
|
||||
void initialize();
|
||||
void set_interrupts(bool interrupt_enable);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue