summaryrefslogtreecommitdiff
path: root/ACE/examples
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2022-12-12 09:57:46 +0100
committerJohnny Willemsen <jwillemsen@remedy.nl>2022-12-12 09:57:46 +0100
commit0ddf6649d679123b281879416b46e42933b82a21 (patch)
treee660782e705c3efcf952398afe2aa86e54697974 /ACE/examples
parent7f58353152673a611a86843b1db6f9453675d087 (diff)
downloadATCD-0ddf6649d679123b281879416b46e42933b82a21.tar.gz
Make use of noexcept instead of throw()
* ACE/ace/Auto_Functor.h: * ACE/ace/Local_Name_Space_T.cpp: * ACE/ace/Svc_Handler.cpp: * ACE/ace/Svc_Handler.h: * ACE/ace/config-lite.h: * ACE/ace/config-macros.h: * ACE/examples/DLL/Newsweek.cpp: * ACE/examples/DLL/Newsweek.h: * ACE/examples/DLL/Today.cpp: * ACE/examples/DLL/Today.h: * ACE/examples/Shared_Malloc/test_persistence.cpp: * ACE/tests/DLL_Test_Impl.cpp: * ACE/tests/DLL_Test_Impl.h: * ACE/tests/Dynamic_Test.cpp: * TAO/orbsvcs/orbsvcs/ESF/ESF_Peer_Admin.h: * TAO/orbsvcs/orbsvcs/ESF/ESF_Proxy_Admin.h: * TAO/orbsvcs/orbsvcs/Event/EC_Channel_Destroyer.cpp: * TAO/orbsvcs/orbsvcs/Event/EC_Channel_Destroyer.h: * TAO/orbsvcs/orbsvcs/Event/EC_ProxySupplier.cpp: * TAO/orbsvcs/orbsvcs/Event/EC_ProxySupplier.h: * TAO/orbsvcs/orbsvcs/Event/EC_Proxy_Disconnector.cpp: * TAO/orbsvcs/orbsvcs/Event/EC_Proxy_Disconnector.h: * TAO/orbsvcs/orbsvcs/FtRtEvent/Utils/ScopeGuard.h: * TAO/orbsvcs/tests/Notify/Bug_3688b_Regression/TestBroadcaster.cpp: * TAO/orbsvcs/tests/Notify/Bug_3688b_Regression/TestBroadcaster.h: * TAO/tao/Asynch_Reply_Dispatcher_Base.h: * TAO/tao/Asynch_Reply_Dispatcher_Base.inl: * TAO/tao/Bounded_Array_Sequence_T.h: * TAO/tao/Bounded_Basic_String_Sequence_T.h: * TAO/tao/Bounded_Object_Reference_Sequence_T.h: * TAO/tao/Bounded_Value_Sequence_T.h: * TAO/tao/Generic_Sequence_T.h: * TAO/tao/Messaging/AMH_Response_Handler.cpp: * TAO/tao/Messaging/AMH_Response_Handler.h: * TAO/tao/PortableServer/Servant_var.cpp: * TAO/tao/PortableServer/Servant_var.h: * TAO/tao/PortableServer/Servant_var.inl: * TAO/tao/Unbounded_Array_Sequence_T.h: * TAO/tao/Unbounded_Basic_String_Sequence_T.h: * TAO/tao/Unbounded_Object_Reference_Sequence_T.h: * TAO/tao/Unbounded_Octet_Sequence_T.h: * TAO/tao/Unbounded_Value_Sequence_T.h: * TAO/tao/Utils/Implicit_Deactivator.cpp: * TAO/tao/Utils/Implicit_Deactivator.h: * TAO/tao/Utils/ORB_Destroyer.cpp: * TAO/tao/Utils/ORB_Destroyer.h: * TAO/tao/Utils/PolicyList_Destroyer.cpp: * TAO/tao/Utils/PolicyList_Destroyer.h: * TAO/tao/Valuetype/Bounded_Valuetype_Sequence_T.h: * TAO/tao/Valuetype/Unbounded_Valuetype_Sequence_T.h: * TAO/tests/Bug_2936_Regression/PersistentPOA.cpp: * TAO/tests/Bug_2936_Regression/PersistentPOA.h: * TAO/tests/Bug_3251_Regression/PersistentPoa.cpp: * TAO/tests/Bug_3251_Regression/PersistentPoa.h: * TAO/tests/ORB_Local_Config/Bug_2612/DllOrb.cpp: * TAO/tests/ORB_Local_Config/Bug_2612/DllOrb.h: * TAO/tests/POA/DSI/Database_i.cpp: * TAO/tests/POA/DSI/Database_i.h: * TAO/utils/wxNamingViewer/wxAutoDialog.h:
Diffstat (limited to 'ACE/examples')
-rw-r--r--ACE/examples/DLL/Newsweek.cpp2
-rw-r--r--ACE/examples/DLL/Newsweek.h2
-rw-r--r--ACE/examples/DLL/Today.cpp2
-rw-r--r--ACE/examples/DLL/Today.h2
-rw-r--r--ACE/examples/Shared_Malloc/test_persistence.cpp2
5 files changed, 5 insertions, 5 deletions
diff --git a/ACE/examples/DLL/Newsweek.cpp b/ACE/examples/DLL/Newsweek.cpp
index a76a56d459e..52797d8ad4f 100644
--- a/ACE/examples/DLL/Newsweek.cpp
+++ b/ACE/examples/DLL/Newsweek.cpp
@@ -24,7 +24,7 @@ Newsweek::operator new (size_t bytes, const std::nothrow_t&)
return ::new (std::nothrow) char[bytes];
}
void
-Newsweek::operator delete (void *p, const std::nothrow_t&) throw ()
+Newsweek::operator delete (void *p, const std::nothrow_t&) noexcept
{
delete [] static_cast <char *> (p);
}
diff --git a/ACE/examples/DLL/Newsweek.h b/ACE/examples/DLL/Newsweek.h
index dad7ce52fdb..aafce40e002 100644
--- a/ACE/examples/DLL/Newsweek.h
+++ b/ACE/examples/DLL/Newsweek.h
@@ -43,7 +43,7 @@ public:
void *operator new (size_t bytes);
// Overloaded new operator, nothrow_t variant.
void *operator new (size_t bytes, const std::nothrow_t&);
- void operator delete (void *p, const std::nothrow_t&) throw ();
+ void operator delete (void *p, const std::nothrow_t&) noexcept;
void operator delete (void *ptr);
};
diff --git a/ACE/examples/DLL/Today.cpp b/ACE/examples/DLL/Today.cpp
index 66724929970..6ce81930b13 100644
--- a/ACE/examples/DLL/Today.cpp
+++ b/ACE/examples/DLL/Today.cpp
@@ -25,7 +25,7 @@ Today::operator new (size_t bytes, const std::nothrow_t&)
return ::new (std::nothrow) char[bytes];
}
void
-Today::operator delete (void *p, const std::nothrow_t&) throw ()
+Today::operator delete (void *p, const std::nothrow_t&) noexcept
{
delete [] static_cast <char *> (p);
}
diff --git a/ACE/examples/DLL/Today.h b/ACE/examples/DLL/Today.h
index b59fb1ff505..6201236e78a 100644
--- a/ACE/examples/DLL/Today.h
+++ b/ACE/examples/DLL/Today.h
@@ -44,7 +44,7 @@ public:
void *operator new (size_t bytes);
// Overloaded new operator, nothrow_t variant.
void *operator new (size_t bytes, const std::nothrow_t&);
- void operator delete (void *p, const std::nothrow_t&) throw ();
+ void operator delete (void *p, const std::nothrow_t&) noexcept;
void operator delete (void *ptr);
};
diff --git a/ACE/examples/Shared_Malloc/test_persistence.cpp b/ACE/examples/Shared_Malloc/test_persistence.cpp
index 058305ce9b3..c57544b1d9b 100644
--- a/ACE/examples/Shared_Malloc/test_persistence.cpp
+++ b/ACE/examples/Shared_Malloc/test_persistence.cpp
@@ -63,7 +63,7 @@ public:
{
return shmem_allocator->malloc (sizeof (Employee));
}
- void operator delete (void *p, const std::nothrow_t&) throw ()
+ void operator delete (void *p, const std::nothrow_t&) noexcept
{
shmem_allocator->free (p);
}