summaryrefslogtreecommitdiff
path: root/ACE/tests/Proactor_Timer_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_Timer_Test.cpp
parente05eb413c59f589e7d4192af7e12eb777017bd70 (diff)
downloadATCD-1e53fe7a08a386009ce01221320d33701d585f9c.tar.gz
Modernize ACE tests with using instead of typedef
Diffstat (limited to 'ACE/tests/Proactor_Timer_Test.cpp')
-rw-r--r--ACE/tests/Proactor_Timer_Test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ACE/tests/Proactor_Timer_Test.cpp b/ACE/tests/Proactor_Timer_Test.cpp
index a247b1dcaed..8fdc0af8a89 100644
--- a/ACE/tests/Proactor_Timer_Test.cpp
+++ b/ACE/tests/Proactor_Timer_Test.cpp
@@ -308,7 +308,7 @@ run_main (int argc, ACE_TCHAR *[])
// to do it right in at least one test. Notice the lack of
// ACE_NEW_RETURN, that monstrosity has no business in proper C++
// code ...
- typedef ACE_Timer_Heap_T<ACE_Handler*,ACE_Proactor_Handle_Timeout_Upcall,ACE_SYNCH_RECURSIVE_MUTEX,ACE_FPointer_Time_Policy> Timer_Queue;
+ using Timer_Queue = ACE_Timer_Heap_T<ACE_Handler *, ACE_Proactor_Handle_Timeout_Upcall, ACE_MT_SYNCH::RECURSIVE_MUTEX, ACE_FPointer_Time_Policy>;
std::unique_ptr<Timer_Queue> tq(new Timer_Queue);
// ... notice how the policy is in the derived timer queue type.