summaryrefslogtreecommitdiff
path: root/ACE/tests/Proactor_UDP_Test.cpp
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2020-12-08 17:10:22 +0100
committerJohnny Willemsen <jwillemsen@remedy.nl>2020-12-08 17:10:22 +0100
commit1e53fe7a08a386009ce01221320d33701d585f9c (patch)
tree5650c9749db2de9a2087f81a50158f0dfb8bdb35 /ACE/tests/Proactor_UDP_Test.cpp
parente05eb413c59f589e7d4192af7e12eb777017bd70 (diff)
downloadATCD-1e53fe7a08a386009ce01221320d33701d585f9c.tar.gz
Modernize ACE tests with using instead of typedef
Diffstat (limited to 'ACE/tests/Proactor_UDP_Test.cpp')
-rw-r--r--ACE/tests/Proactor_UDP_Test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ACE/tests/Proactor_UDP_Test.cpp b/ACE/tests/Proactor_UDP_Test.cpp
index c4ccd4fe2af..9f4cbd438fb 100644
--- a/ACE/tests/Proactor_UDP_Test.cpp
+++ b/ACE/tests/Proactor_UDP_Test.cpp
@@ -52,7 +52,7 @@
#endif /* ACE_WIN32 */
// Proactor Type (UNIX only, Win32 ignored)
-typedef enum { DEFAULT = 0, AIOCB, SIG, SUN, CB } ProactorType;
+using ProactorType = enum { DEFAULT = 0, AIOCB, SIG, SUN, CB };
static ProactorType proactor_type = DEFAULT;
// POSIX : > 0 max number aio operations proactor,