summaryrefslogtreecommitdiff
path: root/ACE/tests/Reactor_Timer_Test.cpp
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2020-12-08 08:45:09 +0100
committerJohnny Willemsen <jwillemsen@remedy.nl>2020-12-08 08:45:09 +0100
commit4584f1597edc14464b396c712b517543d18fb0b6 (patch)
treead48b7f6b1a05a6f22fb5962d06383d46471a3de /ACE/tests/Reactor_Timer_Test.cpp
parentecffd1e315cf811a5a6575843bc0775e81778bb7 (diff)
downloadATCD-4584f1597edc14464b396c712b517543d18fb0b6.tar.gz
Replace auto_ptr with unique_ptr
Diffstat (limited to 'ACE/tests/Reactor_Timer_Test.cpp')
-rw-r--r--ACE/tests/Reactor_Timer_Test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ACE/tests/Reactor_Timer_Test.cpp b/ACE/tests/Reactor_Timer_Test.cpp
index a3c2a3def0c..28db2c61a08 100644
--- a/ACE/tests/Reactor_Timer_Test.cpp
+++ b/ACE/tests/Reactor_Timer_Test.cpp
@@ -255,7 +255,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 ...
- auto_ptr<ACE_Timer_Heap_Variable_Time_Source> tq(
+ unique_ptr<ACE_Timer_Heap_Variable_Time_Source> tq(
new ACE_Timer_Heap_Variable_Time_Source);
// ... notice how the policy is in the derived timer queue type.
// The abstract timer queue does not have a time policy ...