diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2020-12-08 08:51:53 +0100 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2020-12-08 08:51:53 +0100 |
commit | 1bfb8257580a2a84da95ca00863f356474eca77a (patch) | |
tree | ab7fc58af54e22210eea3d678f86d1c395f295dc /ACE/tests/Reactor_Remove_Resume_Test.cpp | |
parent | 4584f1597edc14464b396c712b517543d18fb0b6 (diff) | |
download | ATCD-1bfb8257580a2a84da95ca00863f356474eca77a.tar.gz |
Use std::unique_ptr
Diffstat (limited to 'ACE/tests/Reactor_Remove_Resume_Test.cpp')
-rw-r--r-- | ACE/tests/Reactor_Remove_Resume_Test.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ACE/tests/Reactor_Remove_Resume_Test.cpp b/ACE/tests/Reactor_Remove_Resume_Test.cpp index b36ebe18cd2..67571d56363 100644 --- a/ACE/tests/Reactor_Remove_Resume_Test.cpp +++ b/ACE/tests/Reactor_Remove_Resume_Test.cpp @@ -362,7 +362,7 @@ handle_events (ACE_Reactor & reactor, // ------------------------------------------------------------ -typedef unique_ptr<ACE_Reactor_Impl> (*reactor_factory_type) (void); +typedef std::unique_ptr<ACE_Reactor_Impl> (*reactor_factory_type) (void); unique_ptr<ACE_Reactor_Impl> tp_reactor_factory (void) @@ -370,7 +370,7 @@ tp_reactor_factory (void) ACE_DEBUG ((LM_INFO, ACE_TEXT ("Creating ACE_TP_Reactor.\n"))); - return unique_ptr<ACE_Reactor_Impl> (new ACE_TP_Reactor); + return std::unique_ptr<ACE_Reactor_Impl> (new ACE_TP_Reactor); } // ------------------------------------------------------------ @@ -412,7 +412,7 @@ struct Run_Test : public std::unary_function<reactor_factory_type, void> ACE_TEXT ("** Running removal test **\n"))); } - unique_ptr<ACE_Reactor_Impl> the_factory (factory ()); + std::unique_ptr<ACE_Reactor_Impl> the_factory (factory ()); ACE_Reactor reactor (the_factory.get ()); // In this test, it's only okay to close the Bogus_Handler |