diff options
Diffstat (limited to 'boost/fiber/fiber.hpp')
-rw-r--r-- | boost/fiber/fiber.hpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/boost/fiber/fiber.hpp b/boost/fiber/fiber.hpp index 0fbc84ad12..1508a9b5a6 100644 --- a/boost/fiber/fiber.hpp +++ b/boost/fiber/fiber.hpp @@ -49,7 +49,7 @@ private: public: typedef context::id id; - fiber() noexcept = default; + fiber() = default; template< typename Fn, typename ... Args, @@ -108,7 +108,9 @@ public: if ( joinable() ) { std::terminate(); } - if ( this == & other) return * this; + if ( this == & other) { + return * this; + } impl_.swap( other.impl_); return * this; } @@ -132,7 +134,7 @@ public: template< typename PROPS > PROPS & properties() { auto props = impl_->get_properties(); - BOOST_ASSERT_MSG(props, "fiber::properties not set"); + BOOST_ASSERT_MSG( props, "fiber::properties not set"); return dynamic_cast< PROPS & >( * props ); } }; |