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/LoopbackAdapter.h | |
parent | 68f22507686dfd4734ab027db9d09bd0a06dcefa (diff) | |
download | serenity-e4dfb0fdf385ea830c729558f4c58091e5a16dcc.zip |
Kernel: Make NetworkAdapter::class_name() return a StringView
Diffstat (limited to 'Kernel/Net/LoopbackAdapter.h')
-rw-r--r-- | Kernel/Net/LoopbackAdapter.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Net/LoopbackAdapter.h b/Kernel/Net/LoopbackAdapter.h index b7949793db..d02fe147be 100644 --- a/Kernel/Net/LoopbackAdapter.h +++ b/Kernel/Net/LoopbackAdapter.h @@ -21,7 +21,7 @@ public: virtual ~LoopbackAdapter() override; virtual void send_raw(ReadonlyBytes) override; - virtual const char* class_name() const override { return "LoopbackAdapter"; } + virtual StringView class_name() const override { return "LoopbackAdapter"; } }; } |