diff options
| author | Amlal EL Mahrouss <amlalelmahrouss@icloud.com> | 2024-08-09 19:55:54 +0200 |
|---|---|---|
| committer | Amlal EL Mahrouss <amlalelmahrouss@icloud.com> | 2024-08-09 19:56:35 +0200 |
| commit | 1c217ed09c6c4b13ec09b897270a208439f0db55 (patch) | |
| tree | 43c93aef6ee233fafcd7ca07a5700dd76d5ecdf5 /Kernel/NewKit | |
| parent | acd8297fe927e601a7173cec7ca5445fd4a9c74a (diff) | |
[FIX] Fix bootloop on serial write, fixing more bugs now, still have to
fix allocation.
Signed-off-by: Amlal EL Mahrouss <amlalelmahrouss@icloud.com>
Diffstat (limited to 'Kernel/NewKit')
| -rw-r--r-- | Kernel/NewKit/ErrorOr.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/NewKit/ErrorOr.hxx b/Kernel/NewKit/ErrorOr.hxx index 9cd6087d..4a8897c8 100644 --- a/Kernel/NewKit/ErrorOr.hxx +++ b/Kernel/NewKit/ErrorOr.hxx @@ -47,7 +47,7 @@ namespace Kernel return *this; } - Ref<T> Leak() + Ref<T>& Leak() { return mRef; } |
