diff options
author | Andreas Kling <kling@serenityos.org> | 2021-07-11 17:59:38 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-07-11 17:59:38 +0200 |
commit | e4dfb0fdf385ea830c729558f4c58091e5a16dcc (patch) | |
tree | d4cab5f4dce9ae528d49737b05020b04181e3135 /Kernel/Net/RTL8168NetworkAdapter.h | |
parent | 68f22507686dfd4734ab027db9d09bd0a06dcefa (diff) | |
download | serenity-e4dfb0fdf385ea830c729558f4c58091e5a16dcc.zip |
Kernel: Make NetworkAdapter::class_name() return a StringView
Diffstat (limited to 'Kernel/Net/RTL8168NetworkAdapter.h')
-rw-r--r-- | Kernel/Net/RTL8168NetworkAdapter.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Net/RTL8168NetworkAdapter.h b/Kernel/Net/RTL8168NetworkAdapter.h index 079fad897c..0066e8d23b 100644 --- a/Kernel/Net/RTL8168NetworkAdapter.h +++ b/Kernel/Net/RTL8168NetworkAdapter.h @@ -37,7 +37,7 @@ private: RTL8168NetworkAdapter(PCI::Address, u8 irq); virtual bool handle_irq(const RegisterState&) override; - virtual const char* class_name() const override { return "RTL8168NetworkAdapter"; } + virtual StringView class_name() const override { return "RTL8168NetworkAdapter"sv; } struct [[gnu::packed]] TXDescriptor { volatile u16 frame_length; // top 2 bits are reserved |