From c258c2e5fa9f5134dbc56f717ba37231a08a9081 Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Tue, 16 Dec 2025 10:05:50 +0100 Subject: chore: kernel improvements and tweaks on the kernel. - Two default domains: - Computable domain, alias: Domain. - Non-Computable domain, alias: NullDomain. - DiskSwap API improvements. - Vettable Now returns the Result object instead of its value. - Kernel shall not panic when `ptr_new` returns null. Signed-off-by: Amlal El Mahrouss --- src/kernel/NeKit/Function.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/kernel/NeKit/Function.h') diff --git a/src/kernel/NeKit/Function.h b/src/kernel/NeKit/Function.h index f7e47973..dfa8608a 100644 --- a/src/kernel/NeKit/Function.h +++ b/src/kernel/NeKit/Function.h @@ -27,8 +27,6 @@ class Function final { T operator()(Args&&... args) { return fFn(args...); } - T Call(Args&&... args) { return fFn(args...); } - explicit operator bool() { return fFn; } bool operator!() { return !fFn; } -- cgit v1.2.3