diff options
Diffstat (limited to 'ace/Future_Set.cpp')
-rw-r--r-- | ace/Future_Set.cpp | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/ace/Future_Set.cpp b/ace/Future_Set.cpp index d9b9e2a1ac9..feac0b0d54f 100644 --- a/ace/Future_Set.cpp +++ b/ace/Future_Set.cpp @@ -1,3 +1,4 @@ +// Future.cpp // $Id$ #ifndef ACE_FUTURE_SET_CPP @@ -9,9 +10,9 @@ #pragma once #endif /* ACE_LACKS_PRAGMA_ONCE */ -#if defined (ACE_HAS_THREADS) +ACE_RCSID (ace, Future_Set, "$Id$") -ACE_BEGIN_VERSIONED_NAMESPACE_DECL +#if defined (ACE_HAS_THREADS) template <class T> ACE_Future_Set<T>::ACE_Future_Set (ACE_Message_Queue<ACE_SYNCH> *new_queue) @@ -118,8 +119,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); @@ -130,7 +131,5 @@ 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 */ |