diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2020-12-08 08:45:09 +0100 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2020-12-08 08:45:09 +0100 |
commit | 4584f1597edc14464b396c712b517543d18fb0b6 (patch) | |
tree | ad48b7f6b1a05a6f22fb5962d06383d46471a3de /ACE/tests/Refcounted_Auto_Ptr_Test.cpp | |
parent | ecffd1e315cf811a5a6575843bc0775e81778bb7 (diff) | |
download | ATCD-4584f1597edc14464b396c712b517543d18fb0b6.tar.gz |
Replace auto_ptr with unique_ptr
Diffstat (limited to 'ACE/tests/Refcounted_Auto_Ptr_Test.cpp')
-rw-r--r-- | ACE/tests/Refcounted_Auto_Ptr_Test.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ACE/tests/Refcounted_Auto_Ptr_Test.cpp b/ACE/tests/Refcounted_Auto_Ptr_Test.cpp index a8b8049fdb7..af5b8d89fab 100644 --- a/ACE/tests/Refcounted_Auto_Ptr_Test.cpp +++ b/ACE/tests/Refcounted_Auto_Ptr_Test.cpp @@ -238,7 +238,7 @@ Scheduler::svc (void) ACE_TEXT ("(%t) activation queue shut down\n"))); break; } - auto_ptr<ACE_Method_Request> mo (mo_p); + unique_ptr<ACE_Method_Request> mo (mo_p); ACE_DEBUG ((LM_DEBUG, ACE_TEXT ("(%t) calling method request\n"))); @@ -486,7 +486,7 @@ run_main (int, ACE_TCHAR *[]) Scheduler (), -1); - auto_ptr<Scheduler> scheduler(scheduler_ptr); + unique_ptr<Scheduler> scheduler(scheduler_ptr); if (scheduler->open () == -1) ACE_ERROR_RETURN ((LM_ERROR, |