diff options
Diffstat (limited to 'ACE/Kokyu/tests/EDF/test.cpp')
-rw-r--r-- | ACE/Kokyu/tests/EDF/test.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/ACE/Kokyu/tests/EDF/test.cpp b/ACE/Kokyu/tests/EDF/test.cpp index 32a0860ee36..46fa980f0fd 100644 --- a/ACE/Kokyu/tests/EDF/test.cpp +++ b/ACE/Kokyu/tests/EDF/test.cpp @@ -1,5 +1,3 @@ -#include "ace/Auto_Ptr.h" - #include "Kokyu.h" #include "ace/Task.h" #include "ace/Sched_Params.h" @@ -7,6 +5,7 @@ #include "ace/Get_Opt.h" #include "ace/OS_NS_strings.h" #include "ace/OS_NS_sys_time.h" +#include <memory> ACE_CString sched_policy_str = "fifo"; @@ -88,7 +87,7 @@ int ACE_TMAIN (int argc, ACE_TCHAR** argv) ACE_DEBUG ((LM_DEBUG, "before create_dispatcher\n" )); attrs.config_info_set_ = config_info; - auto_ptr<Kokyu::Dispatcher> + std::unique_ptr<Kokyu::Dispatcher> disp (Kokyu::Dispatcher_Factory::create_dispatcher (attrs)); ACE_ASSERT (disp.get() != 0); |