diff options
Diffstat (limited to 'ACE/tests/Dynamic_Test.cpp')
-rw-r--r-- | ACE/tests/Dynamic_Test.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ACE/tests/Dynamic_Test.cpp b/ACE/tests/Dynamic_Test.cpp index 77c000b2c46..305e8af518c 100644 --- a/ACE/tests/Dynamic_Test.cpp +++ b/ACE/tests/Dynamic_Test.cpp @@ -23,8 +23,8 @@ public: void *operator new (size_t n); - void *operator new (size_t n, const std::nothrow_t&) throw(); - void operator delete (void *p, const std::nothrow_t&) throw (); + void *operator new (size_t n, const std::nothrow_t&) noexcept; + void operator delete (void *p, const std::nothrow_t&) noexcept; void * operator new (size_t n, void *p); void operator delete (void *); @@ -60,7 +60,7 @@ A::operator new (size_t n) } void* -A::operator new (size_t n, const std::nothrow_t&) throw() +A::operator new (size_t n, const std::nothrow_t&) noexcept { ACE_Dynamic *const dynamic_instance = ACE_Dynamic::instance (); @@ -84,7 +84,7 @@ A::operator new (size_t n, const std::nothrow_t&) throw() } void -A::operator delete (void *p, const std::nothrow_t&) throw() +A::operator delete (void *p, const std::nothrow_t&) noexcept { ::delete [] static_cast <char *> (p); } |