diff --git a/src/support/allocators/secure.h b/src/support/allocators/secure.h --- a/src/support/allocators/secure.h +++ b/src/support/allocators/secure.h @@ -25,11 +25,11 @@ typedef typename base::reference reference; typedef typename base::const_reference const_reference; typedef typename base::value_type value_type; - secure_allocator() throw() {} - secure_allocator(const secure_allocator &a) throw() : base(a) {} + secure_allocator() noexcept {} + secure_allocator(const secure_allocator &a) noexcept : base(a) {} template - secure_allocator(const secure_allocator &a) throw() : base(a) {} - ~secure_allocator() throw() {} + secure_allocator(const secure_allocator &a) noexcept : base(a) {} + ~secure_allocator() noexcept {} template struct rebind { typedef secure_allocator<_Other> other; }; diff --git a/src/support/allocators/zeroafterfree.h b/src/support/allocators/zeroafterfree.h --- a/src/support/allocators/zeroafterfree.h +++ b/src/support/allocators/zeroafterfree.h @@ -22,13 +22,13 @@ typedef typename base::reference reference; typedef typename base::const_reference const_reference; typedef typename base::value_type value_type; - zero_after_free_allocator() throw() {} - zero_after_free_allocator(const zero_after_free_allocator &a) throw() + zero_after_free_allocator() noexcept {} + zero_after_free_allocator(const zero_after_free_allocator &a) noexcept : base(a) {} template - zero_after_free_allocator(const zero_after_free_allocator &a) throw() + zero_after_free_allocator(const zero_after_free_allocator &a) noexcept : base(a) {} - ~zero_after_free_allocator() throw() {} + ~zero_after_free_allocator() noexcept {} template struct rebind { typedef zero_after_free_allocator<_Other> other; };