Update push_coroutine.hpp

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

View File

@ -54,7 +54,7 @@ public:
push_coroutine & operator=( push_coroutine && other) noexcept {
if ( this == & other) return * this;
std::swap(cb_, other.cb_);
std::swap( cb_, other.cb_);
return * this;
}
@ -133,7 +133,7 @@ public:
push_coroutine & operator=( push_coroutine && other) noexcept {
if ( this == & other) return * this;
std::swap(cb_, other.cb_);
std::swap( cb_, other.cb_);
return * this;
}
@ -210,7 +210,7 @@ public:
push_coroutine & operator=( push_coroutine && other) noexcept {
if ( this == & other) return * this;
std::swap(cb_, other.cb_);
std::swap( cb_, other.cb_);
return * this;
}