summaryrefslogtreecommitdiffhomepage
path: root/Kernel/KernelKit/ThreadLocalStorage.inl
diff options
context:
space:
mode:
Diffstat (limited to 'Kernel/KernelKit/ThreadLocalStorage.inl')
-rw-r--r--Kernel/KernelKit/ThreadLocalStorage.inl4
1 files changed, 2 insertions, 2 deletions
diff --git a/Kernel/KernelKit/ThreadLocalStorage.inl b/Kernel/KernelKit/ThreadLocalStorage.inl
index d2bd71d4..0a860336 100644
--- a/Kernel/KernelKit/ThreadLocalStorage.inl
+++ b/Kernel/KernelKit/ThreadLocalStorage.inl
@@ -66,8 +66,8 @@ T* tls_new_class(Args&&... args)
template <typename T>
inline Kernel::Bool tls_delete_class(T* ptr)
{
- if (!ptr)
- return false;
+ if (!ptr)
+ return false;
ptr->~T();
return tls_delete_ptr(ptr);