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))