summaryrefslogtreecommitdiff
path: root/ACE/Kokyu/tests/FIFO/test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/Kokyu/tests/FIFO/test.cpp')
-rw-r--r--ACE/Kokyu/tests/FIFO/test.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/ACE/Kokyu/tests/FIFO/test.cpp b/ACE/Kokyu/tests/FIFO/test.cpp
index d9a86aeb225..b0e5dd5f7a2 100644
--- a/ACE/Kokyu/tests/FIFO/test.cpp
+++ b/ACE/Kokyu/tests/FIFO/test.cpp
@@ -1,10 +1,9 @@
-#include "ace/Auto_Ptr.h"
-
#include "Kokyu.h"
#include "ace/Task.h"
#include "ace/SString.h"
#include "ace/Get_Opt.h"
#include "ace/OS_NS_strings.h"
+#include <memory>
ACE_CString sched_policy_str = "fifo";
@@ -98,7 +97,7 @@ int ACE_TMAIN (int argc, ACE_TCHAR** argv)
attrs.config_info_set_ = config_info;
ACE_DEBUG ((LM_DEBUG, "before create_dispatcher\n" ));
- auto_ptr<Kokyu::Dispatcher>
+ std::unique_ptr<Kokyu::Dispatcher>
disp (Kokyu::Dispatcher_Factory::create_dispatcher (attrs));
ACE_ASSERT (disp.get() != 0);