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_Timer_Test.cpp | |
parent | 4584f1597edc14464b396c712b517543d18fb0b6 (diff) | |
download | ATCD-1bfb8257580a2a84da95ca00863f356474eca77a.tar.gz |
Use std::unique_ptr
Diffstat (limited to 'ACE/tests/Reactor_Timer_Test.cpp')
-rw-r--r-- | ACE/tests/Reactor_Timer_Test.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ACE/tests/Reactor_Timer_Test.cpp b/ACE/tests/Reactor_Timer_Test.cpp index 28db2c61a08..8e51fbf4196 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 ... - unique_ptr<ACE_Timer_Heap_Variable_Time_Source> tq( + std::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 ... |