diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2021-06-08 16:25:50 +0200 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2021-06-08 16:25:50 +0200 |
commit | 0e8140b00d4eecdede01f04d77e9e9331d7e3785 (patch) | |
tree | 2c1f353954d810c5bf72b3a2ebfbf6088f548972 /ACE/ace/OS_NS_Thread.cpp | |
parent | f5be2f529f7579ff4fbb0c842a2ba675ef9725b2 (diff) | |
download | ATCD-0e8140b00d4eecdede01f04d77e9e9331d7e3785.tar.gz |
Use reset instead of ACE_auto_ptr_reset
* ACE/ace/CDR_Stream.cpp:
* ACE/ace/OS_NS_Thread.cpp:
* ACE/tests/Bug_2820_Regression_Test.cpp:
* ACE/tests/Malloc_Test.cpp:
Diffstat (limited to 'ACE/ace/OS_NS_Thread.cpp')
-rw-r--r-- | ACE/ace/OS_NS_Thread.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ACE/ace/OS_NS_Thread.cpp b/ACE/ace/OS_NS_Thread.cpp index 2cd16d29e7a..cd9a4387ef9 100644 --- a/ACE/ace/OS_NS_Thread.cpp +++ b/ACE/ace/OS_NS_Thread.cpp @@ -3602,8 +3602,7 @@ ACE_OS::thr_create (ACE_THR_FUNC func, std::unique_ptr <ACE_Base_Thread_Adapter> auto_thread_args; if (thread_adapter == 0) - ACE_auto_ptr_reset (auto_thread_args, - thread_args); + auto_thread_args.reset (thread_args); #if defined (ACE_HAS_THREADS) |