diff options
Diffstat (limited to 'TAO/tao/Dynamic_TP/DTP_Thread_Pool.cpp')
-rw-r--r-- | TAO/tao/Dynamic_TP/DTP_Thread_Pool.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/TAO/tao/Dynamic_TP/DTP_Thread_Pool.cpp b/TAO/tao/Dynamic_TP/DTP_Thread_Pool.cpp index a51873958c1..bfc7bcc1a0d 100644 --- a/TAO/tao/Dynamic_TP/DTP_Thread_Pool.cpp +++ b/TAO/tao/Dynamic_TP/DTP_Thread_Pool.cpp @@ -519,11 +519,7 @@ CORBA::ULong TAO_DTP_Thread_Pool_Manager::create_threadpool_helper (TAO_DTP_Thread_Pool *thread_pool) { // Make sure of safe deletion in case of errors. -#if defined (ACE_HAS_CPP11) std::unique_ptr<TAO_DTP_Thread_Pool> safe_thread_pool (thread_pool); -#else - auto_ptr<TAO_DTP_Thread_Pool> safe_thread_pool (thread_pool); -#endif /* ACE_HAS_CPP11 */ // Open the pool. thread_pool->open (); |