diff options
Diffstat (limited to 'ACE/Kokyu/Kokyu_dsrt.h')
-rw-r--r-- | ACE/Kokyu/Kokyu_dsrt.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ACE/Kokyu/Kokyu_dsrt.h b/ACE/Kokyu/Kokyu_dsrt.h index 0c00c1f346c..6cba50c3d68 100644 --- a/ACE/Kokyu/Kokyu_dsrt.h +++ b/ACE/Kokyu/Kokyu_dsrt.h @@ -67,7 +67,7 @@ namespace Kokyu private: /// Auto ptr to the implementation. Implementation will be created on the /// heap and deleted automatically when the dispatcher object is destructed. - auto_ptr<DSRT_Dispatcher_Impl<DSRT_Scheduler_Traits> > dispatcher_impl_; + std::unique_ptr<DSRT_Dispatcher_Impl<DSRT_Scheduler_Traits> > dispatcher_impl_; }; @@ -85,7 +85,7 @@ namespace Kokyu class DSRT_Dispatcher_Factory : private ACE_Copy_Disabled { public: - typedef auto_ptr<DSRT_Dispatcher<DSRT_Scheduler_Traits> > DSRT_Dispatcher_Auto_Ptr; + typedef std::unique_ptr<DSRT_Dispatcher<DSRT_Scheduler_Traits> > DSRT_Dispatcher_Auto_Ptr; /** * Create a dispatcher for dynamic dispatching of threads. |