mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-24 10:22:05 -05:00
LibThreading: Expose the ProtectedType alias
This commit is contained in:
parent
e003c0bf06
commit
d277fd4679
1 changed files with 2 additions and 1 deletions
|
@ -16,9 +16,10 @@ template<typename T>
|
|||
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))
|
||||
|
|
Loading…
Add table
Reference in a new issue