diff options
author | Andreas Kling <kling@serenityos.org> | 2021-07-21 20:11:29 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-07-21 20:17:55 +0200 |
commit | a9f76b82706597775a353725a4cdffb3d9e59dbd (patch) | |
tree | d2f69604f3d05604319e7be4b300d9aa40729f98 /Kernel/FileSystem | |
parent | 43d6a7e74ec76bf23f78ca281d54c60bb7b952d1 (diff) | |
download | serenity-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.h | 3 |
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; |