From 98e7406a40f52dbd7bd17bf9bb5e301775ab207a Mon Sep 17 00:00:00 2001 From: Oliver Kowalke Date: Wed, 20 Dec 2017 06:23:59 +0000 Subject: [PATCH] Update pull_coroutine.hpp --- include/boost/coroutine2/detail/pull_coroutine.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/boost/coroutine2/detail/pull_coroutine.hpp b/include/boost/coroutine2/detail/pull_coroutine.hpp index 823ca64..928a477 100644 --- a/include/boost/coroutine2/detail/pull_coroutine.hpp +++ b/include/boost/coroutine2/detail/pull_coroutine.hpp @@ -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; }