diff options
-rw-r--r-- | ace/Timer_Hash_T.cpp | 3 | ||||
-rw-r--r-- | ace/Timer_Heap_T.cpp | 1 | ||||
-rw-r--r-- | ace/Timer_List_T.cpp | 4 | ||||
-rw-r--r-- | ace/Timer_Wheel_T.cpp | 1 |
4 files changed, 6 insertions, 3 deletions
diff --git a/ace/Timer_Hash_T.cpp b/ace/Timer_Hash_T.cpp index 156788c66da..48cdefbae71 100644 --- a/ace/Timer_Hash_T.cpp +++ b/ace/Timer_Hash_T.cpp @@ -98,8 +98,9 @@ ACE_Timer_Hash_Upcall<TYPE, FUNCTOR, LOCK>::deletion (ACE_Timer_Queue_T<ACE_Even template <class TYPE, class FUNCTOR, class LOCK, class BUCKET> ACE_Timer_Hash_Iterator_T<TYPE, FUNCTOR, LOCK, BUCKET>::ACE_Timer_Hash_Iterator_T (ACE_Timer_Hash_T<TYPE, FUNCTOR, LOCK, BUCKET> &hash) - : timer_hash_ (hash) + timer_hash_(hash); { + this->first(); // Nothing } diff --git a/ace/Timer_Heap_T.cpp b/ace/Timer_Heap_T.cpp index 0b153647619..e79172867a5 100644 --- a/ace/Timer_Heap_T.cpp +++ b/ace/Timer_Heap_T.cpp @@ -19,6 +19,7 @@ ACE_Timer_Heap_Iterator_T<TYPE, FUNCTOR, LOCK>::ACE_Timer_Heap_Iterator_T (ACE_T : timer_heap_ (heap) { ACE_TRACE ("ACE_Timer_Heap_Iterator::ACE_Timer_Heap_Iterator"); + this->first(); } diff --git a/ace/Timer_List_T.cpp b/ace/Timer_List_T.cpp index dc0d6c5cc26..adfedd402ee 100644 --- a/ace/Timer_List_T.cpp +++ b/ace/Timer_List_T.cpp @@ -11,9 +11,9 @@ template <class TYPE, class FUNCTOR, class LOCK> ACE_Timer_List_Iterator_T<TYPE, FUNCTOR, LOCK>::ACE_Timer_List_Iterator_T (ACE_Timer_List_T<TYPE, FUNCTOR, LOCK> &list) - : timer_list_ (list), - position_ (NULL) + : timer_list_ (list) { + this->first(); // Nothing } diff --git a/ace/Timer_Wheel_T.cpp b/ace/Timer_Wheel_T.cpp index 2eb936e1bea..86dee8a4356 100644 --- a/ace/Timer_Wheel_T.cpp +++ b/ace/Timer_Wheel_T.cpp @@ -15,6 +15,7 @@ template <class TYPE, class FUNCTOR, class LOCK> ACE_Timer_Wheel_Iterator_T<TYPE, FUNCTOR, LOCK>::ACE_Timer_Wheel_Iterator_T (ACE_Timer_Wheel_T<TYPE, FUNCTOR, LOCK> &wheel) : timer_wheel_ (wheel) { + this->first(); // Nothing } |