Lockable renamed to Lock (#219)
Also changed usage from unique_ptr to class value.
This commit is contained in:
committed by
GitHub
parent
2e86d4774b
commit
55bfb9fe3b
@@ -0,0 +1,13 @@
|
||||
#include "Tactility/Lock.h"
|
||||
|
||||
namespace tt {
|
||||
|
||||
std::unique_ptr<ScopedLock> Lock::scoped() const {
|
||||
return std::make_unique<ScopedLock>(*this);
|
||||
}
|
||||
|
||||
ScopedLock Lock::asScopedLock() const {
|
||||
return ScopedLock(*this);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user