mirror of
https://github.com/boostorg/coroutine2.git
synced 2025-05-09 23:24:01 +00:00
Update pull_coroutine.hpp
This commit is contained in:
parent
b0b22e16e9
commit
98e7406a40
@ -56,7 +56,7 @@ public:
|
|||||||
|
|
||||||
pull_coroutine & operator=( pull_coroutine && other) noexcept {
|
pull_coroutine & operator=( pull_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;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -167,7 +167,7 @@ public:
|
|||||||
|
|
||||||
pull_coroutine & operator=( pull_coroutine && other) noexcept {
|
pull_coroutine & operator=( pull_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;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -276,7 +276,7 @@ public:
|
|||||||
|
|
||||||
pull_coroutine & operator=( pull_coroutine && other) noexcept {
|
pull_coroutine & operator=( pull_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