diff options
author | DongHun Kwak <dh0128.kwak@samsung.com> | 2017-09-13 11:08:07 +0900 |
---|---|---|
committer | DongHun Kwak <dh0128.kwak@samsung.com> | 2017-09-13 11:09:00 +0900 |
commit | b5c87084afaef42b2d058f68091be31988a6a874 (patch) | |
tree | adef9a65870a41181687e11d57fdf98e7629de3c /boost/coroutine2/detail/push_coroutine.hpp | |
parent | 34bd32e225e2a8a94104489b31c42e5801cc1f4a (diff) | |
download | boost-b5c87084afaef42b2d058f68091be31988a6a874.tar.gz boost-b5c87084afaef42b2d058f68091be31988a6a874.tar.bz2 boost-b5c87084afaef42b2d058f68091be31988a6a874.zip |
Imported Upstream version 1.64.0upstream/1.64.0
Change-Id: Id9212edd016dd55f21172c427aa7894d1d24148b
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
Diffstat (limited to 'boost/coroutine2/detail/push_coroutine.hpp')
-rw-r--r-- | boost/coroutine2/detail/push_coroutine.hpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/boost/coroutine2/detail/push_coroutine.hpp b/boost/coroutine2/detail/push_coroutine.hpp index 1b62663ab7..533d4f930f 100644 --- a/boost/coroutine2/detail/push_coroutine.hpp +++ b/boost/coroutine2/detail/push_coroutine.hpp @@ -72,14 +72,14 @@ public: push_coroutine< T > * c_{ nullptr }; public: - constexpr iterator() noexcept = default; + iterator() noexcept = default; explicit iterator( push_coroutine< T > * c) noexcept : c_{ c } { } iterator & operator=( T t) { - BOOST_ASSERT( c_); + BOOST_ASSERT( nullptr != c_); if ( ! ( * c_)( t) ) { c_ = nullptr; } @@ -150,14 +150,14 @@ public: push_coroutine< T & > * c_{ nullptr }; public: - constexpr iterator() noexcept = default; + iterator() noexcept = default; explicit iterator( push_coroutine< T & > * c) noexcept : c_{ c } { } iterator & operator=( T & t) { - BOOST_ASSERT( c_); + BOOST_ASSERT( nullptr != c_); if ( ! ( * c_)( t) ) { c_ = nullptr; } |