Sync: Support moving out of another Sync
This commit is contained in:
@@ -39,6 +39,7 @@ public:
|
||||
SyncBase() { }
|
||||
SyncBase(const T & data) : data(data) { }
|
||||
SyncBase(T && data) noexcept : data(std::move(data)) { }
|
||||
SyncBase(SyncBase && other) noexcept : data(std::move(*other.lock())) { }
|
||||
|
||||
template<class L>
|
||||
class Lock
|
||||
|
||||
Reference in New Issue
Block a user