diff options
Diffstat (limited to 'ACE/tests/Framework_Component_DLL.cpp')
-rw-r--r-- | ACE/tests/Framework_Component_DLL.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/ACE/tests/Framework_Component_DLL.cpp b/ACE/tests/Framework_Component_DLL.cpp index 2d3f50c687b..b3ef6c457a6 100644 --- a/ACE/tests/Framework_Component_DLL.cpp +++ b/ACE/tests/Framework_Component_DLL.cpp @@ -19,18 +19,18 @@ ACE_DLL_UNLOAD_POLICY (Framework_Component_DLL, ACE_DLL_UNLOAD_POLICY_LAZY) -Simple_Service::Simple_Service (void) +Simple_Service::Simple_Service () { FRAMEWORK_COMPONENT_DLL_TRACE ("Simple_Service::Simple_Service"); } -Simple_Service::~Simple_Service (void) +Simple_Service::~Simple_Service () { FRAMEWORK_COMPONENT_DLL_TRACE ("Simple_Service::~Simple_Service"); } const ACE_TCHAR * -Simple_Service::name (void) +Simple_Service::name () { FRAMEWORK_COMPONENT_DLL_TRACE ("Simple_Service::dll_name"); return ACE_TEXT ("Simple_Service"); @@ -42,7 +42,7 @@ template <int which> class Server_T : public ACE_Service_Object { public: - int init (int, ACE_TCHAR *[]) + int init (int, ACE_TCHAR *[]) override { FRAMEWORK_COMPONENT_DLL_TRACE ("Server_T::init"); @@ -55,18 +55,18 @@ public: return 0; } - int fini (void) + int fini () override { FRAMEWORK_COMPONENT_DLL_TRACE ("Server_T::fini"); return 0; } }; -typedef Server_T <1> Server_1; +using Server_1 = Server_T<1>; FRAMEWORK_COMPONENT_DLL_SINGLETON_DECLARATION(Server_T<1>;) ACE_FACTORY_DEFINE (Framework_Component_DLL, Server_1) -typedef Server_T <2> Server_2; +using Server_2 = Server_T<2>; FRAMEWORK_COMPONENT_DLL_SINGLETON_DECLARATION(Server_T<2>;) ACE_FACTORY_DEFINE (Framework_Component_DLL, Server_2) |