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