mirror of
https://github.com/ByteWelder/Tactility.git
synced 2026-02-18 10:53:17 +00:00
14 lines
270 B
C++
14 lines
270 B
C++
#include "Tactility/Lockable.h"
|
|
|
|
namespace tt {
|
|
|
|
std::unique_ptr<ScopedLockableUsage> Lockable::scoped() const {
|
|
return std::make_unique<ScopedLockableUsage>(*this);
|
|
}
|
|
|
|
ScopedLockableUsage Lockable::asScopedLock() const {
|
|
return ScopedLockableUsage(*this);
|
|
}
|
|
|
|
}
|