From c3e54f5dcf2f4f7ae0386b1e1b2a767faba397eb Mon Sep 17 00:00:00 2001 From: Oliver Kowalke Date: Tue, 29 Dec 2015 14:48:36 +0100 Subject: [PATCH] remove noexcept from fiber_specific_ptr ctor --- include/boost/fiber/fss.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/boost/fiber/fss.hpp b/include/boost/fiber/fss.hpp index dc8e7830..a578d40a 100644 --- a/include/boost/fiber/fss.hpp +++ b/include/boost/fiber/fss.hpp @@ -49,11 +49,11 @@ private: public: typedef T element_type; - fiber_specific_ptr() noexcept : + fiber_specific_ptr() : cleanup_fn_{ new default_cleanup_function() } { } - explicit fiber_specific_ptr( void(*fn)(T*) ) noexcept : + explicit fiber_specific_ptr( void(*fn)(T*) ) : cleanup_fn_{ new custom_cleanup_function( fn) } { } @@ -82,7 +82,7 @@ public: return * get(); } - T * release() noexcept { + T * release() { T * tmp = get(); context::active()->set_fss_data( this, cleanup_fn_, nullptr, false);