From: khizmax Date: Tue, 3 Jan 2017 10:36:33 +0000 (+0300) Subject: Replaced deprecated throw() function specifier with noexcept X-Git-Tag: v2.2.0~1 X-Git-Url: http://plrg.eecs.uci.edu/git/?p=libcds.git;a=commitdiff_plain;h=03601c4b049873992f30f269b131e0f0f19742e5 Replaced deprecated throw() function specifier with noexcept --- 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();