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