diff options
Diffstat (limited to 'ACE/examples/Threads/future1.cpp')
-rw-r--r-- | ACE/examples/Threads/future1.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/ACE/examples/Threads/future1.cpp b/ACE/examples/Threads/future1.cpp index 96504624420..b80071185cb 100644 --- a/ACE/examples/Threads/future1.cpp +++ b/ACE/examples/Threads/future1.cpp @@ -218,11 +218,7 @@ Scheduler::svc (void) { // Dequeue the next method object (we use an auto pointer in // case an exception is thrown in the <call>). -#if defined (ACE_HAS_CPP11) std::unique_ptr<ACE_Method_Request> mo (this->activation_queue_.dequeue ()); -#else - auto_ptr<ACE_Method_Request> mo (this->activation_queue_.dequeue ()); -#endif /* ACE_HAS_CPP11 */ ACE_DEBUG ((LM_DEBUG, "(%t) calling method object\n")); // Call it. |