Update pull_coroutine.hpp

This commit is contained in:
Oliver Kowalke 2017-12-20 06:23:59 +00:00 committed by GitHub
parent b0b22e16e9
commit 98e7406a40
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -56,7 +56,7 @@ public:
pull_coroutine & operator=( pull_coroutine && other) noexcept {
if ( this == & other) return * this;
std::swap(cb_, other.cb_);
std::swap( cb_, other.cb_);
return * this;
}
@ -167,7 +167,7 @@ public:
pull_coroutine & operator=( pull_coroutine && other) noexcept {
if ( this == & other) return * this;
std::swap(cb_, other.cb_);
std::swap( cb_, other.cb_);
return * this;
}
@ -276,7 +276,7 @@ public:
pull_coroutine & operator=( pull_coroutine && other) noexcept {
if ( this == & other) return * this;
std::swap(cb_, other.cb_);
std::swap( cb_, other.cb_);
return * this;
}