summaryrefslogtreecommitdiff
path: root/Kernel/FileSystem
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-07-21 20:11:29 +0200
committerAndreas Kling <kling@serenityos.org>2021-07-21 20:17:55 +0200
commita9f76b82706597775a353725a4cdffb3d9e59dbd (patch)
treed2f69604f3d05604319e7be4b300d9aa40729f98 /Kernel/FileSystem
parent43d6a7e74ec76bf23f78ca281d54c60bb7b952d1 (diff)
downloadserenity-a9f76b82706597775a353725a4cdffb3d9e59dbd.zip
Kernel: Remove Inode's inheritance from Weakable
Nobody was using WeakPtr<Inode> anywhere, so there's no need for this to inherit from Weakable.
Diffstat (limited to 'Kernel/FileSystem')
-rw-r--r--Kernel/FileSystem/Inode.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/Kernel/FileSystem/Inode.h b/Kernel/FileSystem/Inode.h
index f8c9438570..a055936775 100644
--- a/Kernel/FileSystem/Inode.h
+++ b/Kernel/FileSystem/Inode.h
@@ -23,8 +23,7 @@
namespace Kernel {
-class Inode : public RefCounted<Inode>
- , public Weakable<Inode> {
+class Inode : public RefCounted<Inode> {
friend class VirtualFileSystem;
friend class FileSystem;