From 03601c4b049873992f30f269b131e0f0f19742e5 Mon Sep 17 00:00:00 2001 From: khizmax Date: Tue, 3 Jan 2017 13:36:33 +0300 Subject: [PATCH] Replaced deprecated throw() function specifier with noexcept --- cds/os/alloc_aligned.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/cds/os/alloc_aligned.h b/cds/os/alloc_aligned.h index a25d5cc6..1b5ef3ea 100644 --- a/cds/os/alloc_aligned.h +++ b/cds/os/alloc_aligned.h @@ -133,16 +133,16 @@ namespace cds { } // construct default allocator (do nothing) - aligned_allocator() throw() + aligned_allocator() CDS_NOEXCEPT {} /// construct by copying (do nothing) - aligned_allocator(const aligned_allocator&) throw() + aligned_allocator(const aligned_allocator&) CDS_NOEXCEPT {} /// construct from a related allocator (do nothing) template - aligned_allocator(const aligned_allocator&) throw() + aligned_allocator(const aligned_allocator&) CDS_NOEXCEPT {} /// assign from a related allocator (do nothing) @@ -209,7 +209,7 @@ namespace cds { } /// estimate maximum array size - size_type max_size() const throw() + size_type max_size() const CDS_NOEXCEPT { prototype a; return a.max_size(); -- 2.34.1