mirror of
https://github.com/Naios/continuable.git
synced 2025-12-06 08:46:44 +08:00
Fix a build issue on MSVC 2022 related to transforms wait
This commit is contained in:
parent
f7f304e971
commit
0641a29f42
@ -192,6 +192,9 @@ struct unlocker {
|
|||||||
unlocker& operator=(unlocker const&) = delete;
|
unlocker& operator=(unlocker const&) = delete;
|
||||||
unlocker& operator=(unlocker&&) = default;
|
unlocker& operator=(unlocker&&) = default;
|
||||||
|
|
||||||
|
explicit unlocker(std::weak_ptr<wait_frame<Result>> frame)
|
||||||
|
: frame_(std::move(frame)) {}
|
||||||
|
|
||||||
~unlocker() {
|
~unlocker() {
|
||||||
unlock(Result::empty());
|
unlock(Result::empty());
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user