mirror of
https://github.com/ByteWelder/Tactility.git
synced 2026-04-21 19:05:06 +00:00
Remove deprecated code
This commit is contained in:
parent
bda21e3128
commit
4210a1ee37
@ -43,9 +43,6 @@ public:
|
|||||||
|
|
||||||
void withLock(const std::function<void()>& onLockAcquired, const std::function<void()>& onLockFailed) const { withLock(portMAX_DELAY, onLockAcquired, onLockFailed); }
|
void withLock(const std::function<void()>& onLockAcquired, const std::function<void()>& onLockFailed) const { withLock(portMAX_DELAY, onLockAcquired, onLockFailed); }
|
||||||
|
|
||||||
[[deprecated("use asScopedLock()")]]
|
|
||||||
std::unique_ptr<ScopedLock> scoped() const;
|
|
||||||
|
|
||||||
ScopedLock asScopedLock() const;
|
ScopedLock asScopedLock() const;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@ -2,10 +2,6 @@
|
|||||||
|
|
||||||
namespace tt {
|
namespace tt {
|
||||||
|
|
||||||
std::unique_ptr<ScopedLock> Lock::scoped() const {
|
|
||||||
return std::make_unique<ScopedLock>(*this);
|
|
||||||
}
|
|
||||||
|
|
||||||
ScopedLock Lock::asScopedLock() const {
|
ScopedLock Lock::asScopedLock() const {
|
||||||
return ScopedLock(*this);
|
return ScopedLock(*this);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user