summaryrefslogtreecommitdiff
path: root/Kernel/FileSystem/TmpFS.h
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-07-17 20:59:06 +0200
committerAndreas Kling <kling@serenityos.org>2021-07-17 20:59:48 +0200
commita803c4026cf44d47d8f6bcad0854078742699fb0 (patch)
tree62ecc71f358930ad37fa7cb814f87bd478f74230 /Kernel/FileSystem/TmpFS.h
parenta2e734d202e10ec9ef61095bf2e05f634873d441 (diff)
downloadserenity-a803c4026cf44d47d8f6bcad0854078742699fb0.zip
Kernel: Make FileSystem::class_name() return a StringView
Diffstat (limited to 'Kernel/FileSystem/TmpFS.h')
-rw-r--r--Kernel/FileSystem/TmpFS.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/FileSystem/TmpFS.h b/Kernel/FileSystem/TmpFS.h
index ffdb7de94a..178b17bddc 100644
--- a/Kernel/FileSystem/TmpFS.h
+++ b/Kernel/FileSystem/TmpFS.h
@@ -24,7 +24,7 @@ public:
static RefPtr<TmpFS> create();
virtual bool initialize() override;
- virtual const char* class_name() const override { return "TmpFS"; }
+ virtual StringView class_name() const override { return "TmpFS"sv; }
virtual bool supports_watchers() const override { return true; }