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/Dev_Poll_Reactor_Test.cpp | |
parent | e05eb413c59f589e7d4192af7e12eb777017bd70 (diff) | |
download | ATCD-1e53fe7a08a386009ce01221320d33701d585f9c.tar.gz |
Modernize ACE tests with using instead of typedef
Diffstat (limited to 'ACE/tests/Dev_Poll_Reactor_Test.cpp')
-rw-r--r-- | ACE/tests/Dev_Poll_Reactor_Test.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ACE/tests/Dev_Poll_Reactor_Test.cpp b/ACE/tests/Dev_Poll_Reactor_Test.cpp index 4b2be8b2610..14cfa9e27e8 100644 --- a/ACE/tests/Dev_Poll_Reactor_Test.cpp +++ b/ACE/tests/Dev_Poll_Reactor_Test.cpp @@ -36,7 +36,7 @@ #include "ace/OS_NS_netdb.h" -typedef ACE_Svc_Handler<ACE_SOCK_STREAM, ACE_NULL_SYNCH> SVC_HANDLER; +using SVC_HANDLER = ACE_Svc_Handler<ACE_SOCK_Stream, ACE_NULL_SYNCH>; // ---------------------------------------------------- @@ -310,8 +310,8 @@ Server::handle_close (ACE_HANDLE handle, // ---------------------------------------------------- -typedef ACE_Acceptor<Server, ACE_SOCK_ACCEPTOR> ACCEPTOR; -typedef ACE_Connector<Client, ACE_SOCK_CONNECTOR> CONNECTOR; +using ACCEPTOR = ACE_Acceptor<Server, ACE_SOCK_Acceptor>; +using CONNECTOR = ACE_Connector<Client, ACE_SOCK_Connector>; // ---------------------------------------------------- |