mirror of
https://github.com/boostorg/coroutine2.git
synced 2025-05-09 15:14:01 +00:00
Update push_coroutine.hpp
This commit is contained in:
parent
a3eb60c432
commit
6bf49d619a
@ -133,8 +133,7 @@ public:
|
||||
|
||||
push_coroutine & operator=( push_coroutine && other) noexcept {
|
||||
if ( this == & other) return * this;
|
||||
cb_ = other.cb_;
|
||||
other.cb_ = nullptr;
|
||||
std::swap(cb_, other.cb_);
|
||||
return * this;
|
||||
}
|
||||
|
||||
@ -211,8 +210,7 @@ public:
|
||||
|
||||
push_coroutine & operator=( push_coroutine && other) noexcept {
|
||||
if ( this == & other) return * this;
|
||||
cb_ = other.cb_;
|
||||
other.cb_ = nullptr;
|
||||
std::swap(cb_, other.cb_);
|
||||
return * this;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user