summaryrefslogtreecommitdiff
path: root/Kernel/Net/LoopbackAdapter.h
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-07-11 17:59:38 +0200
committerAndreas Kling <kling@serenityos.org>2021-07-11 17:59:38 +0200
commite4dfb0fdf385ea830c729558f4c58091e5a16dcc (patch)
treed4cab5f4dce9ae528d49737b05020b04181e3135 /Kernel/Net/LoopbackAdapter.h
parent68f22507686dfd4734ab027db9d09bd0a06dcefa (diff)
downloadserenity-e4dfb0fdf385ea830c729558f4c58091e5a16dcc.zip
Kernel: Make NetworkAdapter::class_name() return a StringView
Diffstat (limited to 'Kernel/Net/LoopbackAdapter.h')
-rw-r--r--Kernel/Net/LoopbackAdapter.h2
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"; }
};
}