summaryrefslogtreecommitdiff
path: root/Kernel/FileSystem/FileSystem.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/FileSystem.h
parenta2e734d202e10ec9ef61095bf2e05f634873d441 (diff)
downloadserenity-a803c4026cf44d47d8f6bcad0854078742699fb0.zip
Kernel: Make FileSystem::class_name() return a StringView
Diffstat (limited to 'Kernel/FileSystem/FileSystem.h')
-rw-r--r--Kernel/FileSystem/FileSystem.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/FileSystem/FileSystem.h b/Kernel/FileSystem/FileSystem.h
index d440e4cfe9..72d621508c 100644
--- a/Kernel/FileSystem/FileSystem.h
+++ b/Kernel/FileSystem/FileSystem.h
@@ -32,7 +32,7 @@ public:
static void lock_all();
virtual bool initialize() = 0;
- virtual const char* class_name() const = 0;
+ virtual StringView class_name() const = 0;
virtual NonnullRefPtr<Inode> root_inode() const = 0;
virtual bool supports_watchers() const { return false; }