diff options
Diffstat (limited to 'boost/context/posix')
-rw-r--r-- | boost/context/posix/protected_fixedsize_stack.hpp | 4 | ||||
-rw-r--r-- | boost/context/posix/segmented_stack.hpp | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/boost/context/posix/protected_fixedsize_stack.hpp b/boost/context/posix/protected_fixedsize_stack.hpp index 25ce9a6828..7d1b789d01 100644 --- a/boost/context/posix/protected_fixedsize_stack.hpp +++ b/boost/context/posix/protected_fixedsize_stack.hpp @@ -44,7 +44,7 @@ private: public: typedef traitsT traits_type; - basic_protected_fixedsize_stack( std::size_t size = traits_type::default_size() ) : + basic_protected_fixedsize_stack( std::size_t size = traits_type::default_size() ) BOOST_NOEXCEPT_OR_NOTHROW : size_( size) { BOOST_ASSERT( traits_type::minimum_size() <= size_); BOOST_ASSERT( traits_type::is_unbounded() || ( traits_type::maximum_size() >= size_) ); @@ -86,7 +86,7 @@ public: return sctx; } - void deallocate( stack_context & sctx) { + void deallocate( stack_context & sctx) BOOST_NOEXCEPT_OR_NOTHROW { BOOST_ASSERT( sctx.sp); BOOST_ASSERT( traits_type::minimum_size() <= sctx.size); BOOST_ASSERT( traits_type::is_unbounded() || ( traits_type::maximum_size() >= sctx.size) ); diff --git a/boost/context/posix/segmented_stack.hpp b/boost/context/posix/segmented_stack.hpp index 93f4210fd4..25842b6d32 100644 --- a/boost/context/posix/segmented_stack.hpp +++ b/boost/context/posix/segmented_stack.hpp @@ -45,7 +45,7 @@ private: public: typedef traitsT traits_type; - basic_segmented_stack( std::size_t size = traits_type::default_size() ) : + basic_segmented_stack( std::size_t size = traits_type::default_size() ) BOOST_NOEXCEPT_OR_NOTHROW : size_( size) { BOOST_ASSERT( traits_type::minimum_size() <= size_); BOOST_ASSERT( traits_type::is_unbounded() || ( traits_type::maximum_size() >= size_) ); @@ -65,7 +65,7 @@ public: return sctx; } - void deallocate( stack_context & sctx) { + void deallocate( stack_context & sctx) BOOST_NOEXCEPT_OR_NOTHROW { __splitstack_releasecontext( sctx.segments_ctx); } }; |