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/RTL8139NetworkAdapter.h | |
parent | 68f22507686dfd4734ab027db9d09bd0a06dcefa (diff) | |
download | serenity-e4dfb0fdf385ea830c729558f4c58091e5a16dcc.zip |
Kernel: Make NetworkAdapter::class_name() return a StringView
Diffstat (limited to 'Kernel/Net/RTL8139NetworkAdapter.h')
-rw-r--r-- | Kernel/Net/RTL8139NetworkAdapter.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Net/RTL8139NetworkAdapter.h b/Kernel/Net/RTL8139NetworkAdapter.h index 8ab694e66a..164fbb0c77 100644 --- a/Kernel/Net/RTL8139NetworkAdapter.h +++ b/Kernel/Net/RTL8139NetworkAdapter.h @@ -32,7 +32,7 @@ public: private: RTL8139NetworkAdapter(PCI::Address, u8 irq); virtual bool handle_irq(const RegisterState&) override; - virtual const char* class_name() const override { return "RTL8139NetworkAdapter"; } + virtual StringView class_name() const override { return "RTL8139NetworkAdapter"sv; } void reset(); void read_mac_address(); |