summaryrefslogtreecommitdiff
path: root/boost/context/posix/segmented_stack.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/context/posix/segmented_stack.hpp')
-rw-r--r--boost/context/posix/segmented_stack.hpp4
1 files changed, 2 insertions, 2 deletions
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);
}
};