mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-31 05:09:12 +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
|
@ -25,7 +25,7 @@ public:
|
|||
virtual void send_raw(ReadonlyBytes) override;
|
||||
virtual bool link_up() override { return m_link_up; }
|
||||
|
||||
virtual const char* purpose() const override { return class_name(); }
|
||||
virtual StringView purpose() const override { return class_name(); }
|
||||
|
||||
private:
|
||||
NE2000NetworkAdapter(PCI::Address, u8 irq);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue