Fix a build issue on MSVC 2022 related to transforms wait

This commit is contained in:
Denis Blank 2023-09-10 12:12:06 +02:00
parent f7f304e971
commit 0641a29f42

View File

@ -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());
} }