summaryrefslogtreecommitdiffhomepage
path: root/dev/Kernel/KernelKit/ThreadLocalStorage.inl
diff options
context:
space:
mode:
Diffstat (limited to 'dev/Kernel/KernelKit/ThreadLocalStorage.inl')
-rw-r--r--dev/Kernel/KernelKit/ThreadLocalStorage.inl4
1 files changed, 2 insertions, 2 deletions
diff --git a/dev/Kernel/KernelKit/ThreadLocalStorage.inl b/dev/Kernel/KernelKit/ThreadLocalStorage.inl
index 6573209a..cfdcf47c 100644
--- a/dev/Kernel/KernelKit/ThreadLocalStorage.inl
+++ b/dev/Kernel/KernelKit/ThreadLocalStorage.inl
@@ -16,7 +16,7 @@ inline T* tls_new_ptr(void) noexcept
{
using namespace Kernel;
- auto ref_process = UserProcessScheduler::The().GetCurrentProcess();
+ auto ref_process = UserProcessScheduler::The().CurrentProcess();
MUST_PASS(ref_process);
auto pointer = ref_process.Leak().New(sizeof(T));
@@ -37,7 +37,7 @@ inline Kernel::Bool tls_delete_ptr(T* obj) noexcept
if (!obj)
return No;
- auto ref_process = UserProcessScheduler::The().GetCurrentProcess();
+ auto ref_process = UserProcessScheduler::The().CurrentProcess();
MUST_PASS(ref_process);
ErrorOr<T*> obj_wrapped{obj};