diff options
Diffstat (limited to 'tests/Future_Test.cpp')
-rw-r--r-- | tests/Future_Test.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/Future_Test.cpp b/tests/Future_Test.cpp index ef84ba32a2a..e46102f6559 100644 --- a/tests/Future_Test.cpp +++ b/tests/Future_Test.cpp @@ -220,7 +220,7 @@ Scheduler::svc (void) { // Dequeue the next method object (we use an auto pointer in // case an exception is thrown in the <call>). - ACE_Auto_Ptr<ACE_Method_Object> mo (this->activation_queue_.dequeue ()); + auto_ptr<ACE_Method_Object> mo (this->activation_queue_.dequeue ()); ACE_DEBUG ((LM_DEBUG, "(%t) calling method object\n")); // Call it. @@ -302,7 +302,7 @@ template class ACE_Future<u_long>; template class ACE_Future_Rep<char const *>; template class ACE_Future_Rep<int>; template class ACE_Future_Rep<u_long>; -template class ACE_Auto_Ptr<ACE_Method_Object>; +template class auto_ptr<ACE_Method_Object>; template class ACE_Auto_Basic_Ptr<ACE_Method_Object>; #elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) #pragma instantiate ACE_Future<const char *> @@ -311,7 +311,7 @@ template class ACE_Auto_Basic_Ptr<ACE_Method_Object>; #pragma instantiate ACE_Future_Rep<char const *> #pragma instantiate ACE_Future_Rep<int> #pragma instantiate ACE_Future_Rep<u_long> -#pragma instantiate ACE_Auto_Ptr<ACE_Method_Object> +#pragma instantiate auto_ptr<ACE_Method_Object> #pragma instantiate ACE_Auto_Basic_Ptr<ACE_Method_Object> #endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ |