Sfoglia il codice sorgente

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 anni fa
parent
commit
a9f76b8270
1 ha cambiato i file con 1 aggiunte e 2 eliminazioni
  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;