浏览代码

Kernel: Remove Inode's inheritance from Weakable

Nobody was using WeakPtr<Inode> anywhere, so there's no need for this
to inherit from Weakable.
Andreas Kling 4 年之前
父节点
当前提交
a9f76b8270
共有 1 个文件被更改,包括 1 次插入2 次删除
  1. 1 2
      Kernel/FileSystem/Inode.h

+ 1 - 2
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;