diff options
Diffstat (limited to 'ace/Future_Set.cpp')
-rw-r--r-- | ace/Future_Set.cpp | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/ace/Future_Set.cpp b/ace/Future_Set.cpp index feac0b0d54f..d9b9e2a1ac9 100644 --- a/ace/Future_Set.cpp +++ b/ace/Future_Set.cpp @@ -1,4 +1,3 @@ -// Future.cpp // $Id$ #ifndef ACE_FUTURE_SET_CPP @@ -10,10 +9,10 @@ #pragma once #endif /* ACE_LACKS_PRAGMA_ONCE */ -ACE_RCSID (ace, Future_Set, "$Id$") - #if defined (ACE_HAS_THREADS) +ACE_BEGIN_VERSIONED_NAMESPACE_DECL + template <class T> ACE_Future_Set<T>::ACE_Future_Set (ACE_Message_Queue<ACE_SYNCH> *new_queue) : delete_queue_ (0) @@ -119,8 +118,8 @@ ACE_Future_Set<T>::next_readable (ACE_Future<T> &future, // Remove the hash map entry with the specified future rep from our map. FUTURE_HOLDER *future_holder; - if ( this->future_map_.find (future_rep, - future_holder) != -1 ) + if (this->future_map_.find (future_rep, + future_holder) != -1) { future = future_holder->item_; this->future_map_.unbind (future_rep); @@ -131,5 +130,7 @@ ACE_Future_Set<T>::next_readable (ACE_Future<T> &future, return 0; } +ACE_END_VERSIONED_NAMESPACE_DECL + #endif /* ACE_HAS_THREADS */ #endif /* ACE_FUTURE_SET_CPP */ |