Replaced deprecated throw() function specifier with noexcept
authorkhizmax <libcds.dev@gmail.com>
Tue, 3 Jan 2017 10:36:33 +0000 (13:36 +0300)
committerkhizmax <libcds.dev@gmail.com>
Tue, 3 Jan 2017 10:36:33 +0000 (13:36 +0300)
cds/os/alloc_aligned.h

index a25d5cc60c509276c7931366bef7cdefb484a798..1b5ef3ea20be1b8359b35a79d57e41b733350fab 100644 (file)
@@ -133,16 +133,16 @@ namespace cds {
             }
 
             // construct default allocator (do nothing)
             }
 
             // construct default allocator (do nothing)
-            aligned_allocator() throw()
+            aligned_allocator() CDS_NOEXCEPT
             {}
 
             /// construct by copying (do nothing)
             {}
 
             /// construct by copying (do nothing)
-            aligned_allocator(const aligned_allocator<T>&) throw()
+            aligned_allocator(const aligned_allocator<T>&) CDS_NOEXCEPT
             {}
 
             /// construct from a related allocator (do nothing)
             template <class OTHER>
             {}
 
             /// construct from a related allocator (do nothing)
             template <class OTHER>
-            aligned_allocator(const aligned_allocator<OTHER>&) throw()
+            aligned_allocator(const aligned_allocator<OTHER>&) CDS_NOEXCEPT
             {}
 
             /// assign from a related allocator (do nothing)
             {}
 
             /// assign from a related allocator (do nothing)
@@ -209,7 +209,7 @@ namespace cds {
             }
 
             /// estimate maximum array size
             }
 
             /// estimate maximum array size
-            size_type max_size() const throw()
+            size_type max_size() const CDS_NOEXCEPT
             {
                 prototype a;
                 return a.max_size();
             {
                 prototype a;
                 return a.max_size();