From af9b2cef21294a2ce9baff23effeeff2672c3142 Mon Sep 17 00:00:00 2001 From: Oliver Kowalke Date: Wed, 16 Dec 2015 19:14:10 +0100 Subject: [PATCH] remove noexcept specifier in boudned_channel --- include/boost/fiber/bounded_channel.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/boost/fiber/bounded_channel.hpp b/include/boost/fiber/bounded_channel.hpp index afdfa733..4079c207 100644 --- a/include/boost/fiber/bounded_channel.hpp +++ b/include/boost/fiber/bounded_channel.hpp @@ -312,7 +312,7 @@ public: return push_wait_until_( { detail::convert( ptr) }, timeout_time, lk); } - channel_op_status try_push( value_type const& va) noexcept { + channel_op_status try_push( value_type const& va) { typename allocator_traits_t::pointer ptr{ allocator_traits_t::allocate( alloc_, 1) }; try { @@ -325,7 +325,7 @@ public: return try_push_( { detail::convert( ptr) }, lk); } - channel_op_status try_push( value_type && va) noexcept { + channel_op_status try_push( value_type && va) { typename allocator_traits_t::pointer ptr{ allocator_traits_t::allocate( alloc_, 1) }; try {