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/Message_Queue_Test_Ex.cpp | |
parent | e05eb413c59f589e7d4192af7e12eb777017bd70 (diff) | |
download | ATCD-1e53fe7a08a386009ce01221320d33701d585f9c.tar.gz |
Modernize ACE tests with using instead of typedef
Diffstat (limited to 'ACE/tests/Message_Queue_Test_Ex.cpp')
-rw-r--r-- | ACE/tests/Message_Queue_Test_Ex.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ACE/tests/Message_Queue_Test_Ex.cpp b/ACE/tests/Message_Queue_Test_Ex.cpp index c14496c13cf..3182d2c6d0b 100644 --- a/ACE/tests/Message_Queue_Test_Ex.cpp +++ b/ACE/tests/Message_Queue_Test_Ex.cpp @@ -34,7 +34,7 @@ const ACE_TCHAR usage[] = ACE_TEXT ("usage: Message_Queue_Test_Ex <number of messages>\n"); -typedef ACE_Message_Queue_Ex<User_Class, ACE_NULL_SYNCH> QUEUE; +using QUEUE = ACE_Message_Queue_Ex<User_Class, ACE_NULL_SYNCH>; static const int MAX_MESSAGES = 10000; static const char test_message[] = "ACE_Message_Queue_Ex Test Message"; @@ -61,7 +61,7 @@ print_message (const ACE_TCHAR *message) } #if defined (ACE_HAS_THREADS) -typedef ACE_Message_Queue_Ex<User_Class, ACE_MT_SYNCH> SYNCH_QUEUE; +using SYNCH_QUEUE = ACE_Message_Queue_Ex<User_Class, ACE_MT_SYNCH>; /** * Container for data passed to sender and receiver in |