diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2020-12-08 17:10:22 +0100 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2020-12-08 17:10:22 +0100 |
commit | 1e53fe7a08a386009ce01221320d33701d585f9c (patch) | |
tree | 5650c9749db2de9a2087f81a50158f0dfb8bdb35 /ACE/tests/Bug_2610_Regression_Test.cpp | |
parent | e05eb413c59f589e7d4192af7e12eb777017bd70 (diff) | |
download | ATCD-1e53fe7a08a386009ce01221320d33701d585f9c.tar.gz |
Modernize ACE tests with using instead of typedef
Diffstat (limited to 'ACE/tests/Bug_2610_Regression_Test.cpp')
-rw-r--r-- | ACE/tests/Bug_2610_Regression_Test.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ACE/tests/Bug_2610_Regression_Test.cpp b/ACE/tests/Bug_2610_Regression_Test.cpp index 425f001e8c6..c0f46ddcfc4 100644 --- a/ACE/tests/Bug_2610_Regression_Test.cpp +++ b/ACE/tests/Bug_2610_Regression_Test.cpp @@ -30,7 +30,7 @@ ACE_Thread_Semaphore g_semaphore (0); class My_Svc_Handler : public ACE_Svc_Handler<ACE_SOCK_STREAM,ACE_NULL_SYNCH> { public: - typedef ACE_Svc_Handler<ACE_SOCK_STREAM,ACE_NULL_SYNCH> super; + using super = ACE_Svc_Handler<ACE_SOCK_Stream, ACE_NULL_SYNCH>; My_Svc_Handler() { TEST_TRACE ("My_Svc_Handler:My_Svc_Handler"); @@ -58,7 +58,7 @@ bool g_acceptor_accept_fails; class My_Acceptor : public ACE_Acceptor<My_Svc_Handler, ACE_SOCK_ACCEPTOR> { public: - typedef ACE_Acceptor<My_Svc_Handler, ACE_SOCK_ACCEPTOR> super; + using super = ACE_Acceptor<My_Svc_Handler, ACE_SOCK_Acceptor>; My_Acceptor () : super (ACE_INET_Addr(9000)) {} protected: @@ -84,7 +84,7 @@ protected: class My_Connector : public ACE_Connector<My_Svc_Handler, ACE_SOCK_CONNECTOR> { public: - typedef ACE_Connector<My_Svc_Handler, ACE_SOCK_CONNECTOR> super; + using super = ACE_Connector<My_Svc_Handler, ACE_SOCK_Connector>; protected: int activate_svc_handler (My_Svc_Handler* /*svc_handler*/) override { |