summaryrefslogtreecommitdiff
path: root/Kernel/FileSystem/InodeFile.h
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-07-11 01:46:09 +0200
committerAndreas Kling <kling@serenityos.org>2021-07-11 01:46:59 +0200
commitc9f6786e8b726dfe3d8d4ee13e34be561c093fe5 (patch)
tree0252a8e9b9bae62762c466e33e3b1e462fe54e43 /Kernel/FileSystem/InodeFile.h
parentfa9111ac463d645bb801140b1e121d2f00c0efa1 (diff)
downloadserenity-c9f6786e8b726dfe3d8d4ee13e34be561c093fe5.zip
Kernel: Make various T::class_name() and similar return StringView
Instead of returning char const*, we can also give you a StringView.
Diffstat (limited to 'Kernel/FileSystem/InodeFile.h')
-rw-r--r--Kernel/FileSystem/InodeFile.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/FileSystem/InodeFile.h b/Kernel/FileSystem/InodeFile.h
index 658a03a397..7c556fcd82 100644
--- a/Kernel/FileSystem/InodeFile.h
+++ b/Kernel/FileSystem/InodeFile.h
@@ -42,7 +42,7 @@ public:
virtual KResult chown(FileDescription&, uid_t, gid_t) override;
virtual KResult chmod(FileDescription&, mode_t) override;
- virtual const char* class_name() const override { return "InodeFile"; }
+ virtual StringView class_name() const override { return "InodeFile"; }
virtual bool is_seekable() const override { return true; }
virtual bool is_inode() const override { return true; }