mirror of
https://github.com/ByteWelder/Tactility.git
synced 2026-04-19 01:45: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); }
|
||||
|
||||
[[deprecated("use asScopedLock()")]]
|
||||
std::unique_ptr<ScopedLock> scoped() const;
|
||||
|
||||
ScopedLock asScopedLock() const;
|
||||
};
|
||||
|
||||
|
||||
@ -2,10 +2,6 @@
|
||||
|
||||
namespace tt {
|
||||
|
||||
std::unique_ptr<ScopedLock> Lock::scoped() const {
|
||||
return std::make_unique<ScopedLock>(*this);
|
||||
}
|
||||
|
||||
ScopedLock Lock::asScopedLock() const {
|
||||
return ScopedLock(*this);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user