From d277fd4679990e73028ce6f2ffd5de2d725ea447 Mon Sep 17 00:00:00 2001 From: Ali Mohammad Pur Date: Wed, 8 May 2024 20:13:44 +0200 Subject: [PATCH] LibThreading: Expose the ProtectedType alias --- Userland/Libraries/LibThreading/MutexProtected.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Userland/Libraries/LibThreading/MutexProtected.h b/Userland/Libraries/LibThreading/MutexProtected.h index f12d2fea418..c48d80983cf 100644 --- a/Userland/Libraries/LibThreading/MutexProtected.h +++ b/Userland/Libraries/LibThreading/MutexProtected.h @@ -16,9 +16,10 @@ template class MutexProtected { AK_MAKE_NONCOPYABLE(MutexProtected); AK_MAKE_NONMOVABLE(MutexProtected); - using ProtectedType = T; public: + using ProtectedType = T; + ALWAYS_INLINE MutexProtected() = default; ALWAYS_INLINE MutexProtected(T&& value) : m_value(move(value))