From e90765e95799ee6c42a9285ebe1f89ff4d0e9be0 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Sun, 16 Feb 2020 02:16:22 +0100 Subject: [PATCH] Kernel: Remove Process inheriting from Weakable This mechanism wasn't actually used to create any WeakPtr. Such pointers would be pretty hard to work with anyway, due to the multi-step destruction ritual of Process. --- Kernel/Process.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Kernel/Process.h b/Kernel/Process.h index 86bf48d863..abf02608d7 100644 --- a/Kernel/Process.h +++ b/Kernel/Process.h @@ -30,7 +30,6 @@ #include #include #include -#include #include #include #include @@ -93,8 +92,7 @@ struct UnveiledPath { unsigned permissions { 0 }; }; -class Process : public InlineLinkedListNode - , public Weakable { +class Process : public InlineLinkedListNode { friend class InlineLinkedListNode; friend class Thread;