- Create `Include/` folder for all main projects - Fix some issues here and there (found while moving things) - All includes are now in `Tactility/` subfolder and must be included with that prefix. This fixes issues with clashing POSIX headers (e.g. `<semaphore.h>` versus Tactility's `Semaphore.h`)
11 lines
226 B
C++
11 lines
226 B
C++
#include "Tactility/Lockable.h"
|
|
|
|
namespace tt {
|
|
|
|
std::unique_ptr<ScopedLockableUsage> Lockable::scoped() const {
|
|
auto* scoped = new ScopedLockableUsage(*this);
|
|
return std::unique_ptr<ScopedLockableUsage>(scoped);
|
|
}
|
|
|
|
}
|